OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "Test.h" | 8 #include "Test.h" |
9 // This is a GR test | 9 // This is a GR test |
10 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
11 #include "../../src/gpu/GrClipMaskManager.h" | 11 #include "GrClipMaskManager.h" |
12 #include "GrContextFactory.h" | 12 #include "GrContextFactory.h" |
13 #include "SkGpuDevice.h" | 13 #include "SkGpuDevice.h" |
14 | 14 |
15 static const int X_SIZE = 12; | 15 static const int X_SIZE = 12; |
16 static const int Y_SIZE = 12; | 16 static const int Y_SIZE = 12; |
17 | 17 |
18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
19 // note: this is unused | 19 // note: this is unused |
20 static GrTexture* createTexture(GrContext* context) { | 20 static GrTexture* createTexture(GrContext* context) { |
21 unsigned char textureData[X_SIZE][Y_SIZE][4]; | 21 unsigned char textureData[X_SIZE][Y_SIZE][4]; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 if (NULL == context) { | 224 if (NULL == context) { |
225 continue; | 225 continue; |
226 } | 226 } |
227 | 227 |
228 test_cache(reporter, context); | 228 test_cache(reporter, context); |
229 test_clip_bounds(reporter, context); | 229 test_clip_bounds(reporter, context); |
230 } | 230 } |
231 } | 231 } |
232 | 232 |
233 #endif | 233 #endif |
OLD | NEW |