Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: tests/ClipCacheTest.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/ClampRangeTest.cpp ('k') | tests/ClipCubicTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "GrContextFactory.h" 12 #include "GrContextFactory.h"
12 #include "SkGpuDevice.h" 13 #include "SkGpuDevice.h"
13 #include "../../src/gpu/GrClipMaskManager.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];
22 22
23 memset(textureData, 0, 4* X_SIZE * Y_SIZE); 23 memset(textureData, 0, 4* X_SIZE * Y_SIZE);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 if (NULL == context) { 229 if (NULL == context) {
230 continue; 230 continue;
231 } 231 }
232 232
233 test_cache(reporter, context); 233 test_cache(reporter, context);
234 test_clip_bounds(reporter, context); 234 test_clip_bounds(reporter, context);
235 } 235 }
236 } 236 }
237 237
238 #endif 238 #endif
OLDNEW
« no previous file with comments | « tests/ClampRangeTest.cpp ('k') | tests/ClipCubicTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698