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 "../src/image/SkImagePriv.h" | 8 #include "../src/image/SkImagePriv.h" |
9 #include "../src/image/SkSurface_Base.h" | 9 #include "../src/image/SkSurface_Base.h" |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
11 #include "SkBitmapProcShader.h" | 11 #include "SkBitmapProcShader.h" |
12 #include "SkDeferredCanvas.h" | 12 #include "SkDeferredCanvas.h" |
13 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
| 14 #include "SkPath.h" |
14 #include "SkShader.h" | 15 #include "SkShader.h" |
15 #include "SkSurface.h" | 16 #include "SkSurface.h" |
16 #include "Test.h" | 17 #include "Test.h" |
17 #include "sk_tool_utils.h" | 18 #include "sk_tool_utils.h" |
18 | 19 |
19 #if SK_SUPPORT_GPU | 20 #if SK_SUPPORT_GPU |
20 #include "GrContextFactory.h" | 21 #include "GrContextFactory.h" |
21 #else | 22 #else |
22 class GrContextFactory; | 23 class GrContextFactory; |
23 #endif | 24 #endif |
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 TestDeferredCanvasSurface(reporter, NULL); | 940 TestDeferredCanvasSurface(reporter, NULL); |
940 TestDeferredCanvasSetSurface(reporter, NULL); | 941 TestDeferredCanvasSetSurface(reporter, NULL); |
941 } | 942 } |
942 | 943 |
943 DEF_GPUTEST(DeferredCanvas_GPU, reporter, factory) { | 944 DEF_GPUTEST(DeferredCanvas_GPU, reporter, factory) { |
944 if (factory != NULL) { | 945 if (factory != NULL) { |
945 TestDeferredCanvasSurface(reporter, factory); | 946 TestDeferredCanvasSurface(reporter, factory); |
946 TestDeferredCanvasSetSurface(reporter, factory); | 947 TestDeferredCanvasSetSurface(reporter, factory); |
947 } | 948 } |
948 } | 949 } |
OLD | NEW |