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

Side by Side Diff: tests/SurfaceTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload 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/StrokeTest.cpp ('k') | tests/TDStackNesterTest.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 2013 Google Inc. 2 * Copyright 2013 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 "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkRRect.h" 9 #include "SkRRect.h"
10 #include "SkSurface.h" 10 #include "SkSurface.h"
11 #include "Test.h" 11 #include "Test.h"
12 #include "TestClassDef.h"
13 12
14 #if SK_SUPPORT_GPU 13 #if SK_SUPPORT_GPU
15 #include "GrContextFactory.h" 14 #include "GrContextFactory.h"
16 #else 15 #else
17 class GrContextFactory; 16 class GrContextFactory;
18 class GrContext; 17 class GrContext;
19 #endif 18 #endif
20 19
21 enum SurfaceType { 20 enum SurfaceType {
22 kRaster_SurfaceType, 21 kRaster_SurfaceType,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 Test_crbug263329(reporter, context); 247 Test_crbug263329(reporter, context);
249 TestSurfaceCopyOnWrite(reporter, kGpu_SurfaceType, context); 248 TestSurfaceCopyOnWrite(reporter, kGpu_SurfaceType, context);
250 TestSurfaceWritableAfterSnapshotRelease(reporter, kGpu_SurfaceType, context); 249 TestSurfaceWritableAfterSnapshotRelease(reporter, kGpu_SurfaceType, context);
251 TestSurfaceNoCanvas(reporter, kGpu_SurfaceType, context, SkSurface:: kDiscard_ContentChangeMode); 250 TestSurfaceNoCanvas(reporter, kGpu_SurfaceType, context, SkSurface:: kDiscard_ContentChangeMode);
252 TestSurfaceNoCanvas(reporter, kGpu_SurfaceType, context, SkSurface:: kRetain_ContentChangeMode); 251 TestSurfaceNoCanvas(reporter, kGpu_SurfaceType, context, SkSurface:: kRetain_ContentChangeMode);
253 TestGetTexture(reporter, kGpu_SurfaceType, context); 252 TestGetTexture(reporter, kGpu_SurfaceType, context);
254 } 253 }
255 } 254 }
256 #endif 255 #endif
257 } 256 }
OLDNEW
« no previous file with comments | « tests/StrokeTest.cpp ('k') | tests/TDStackNesterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698