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