| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |