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 "Test.h" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
11 #include "SkBitmapDevice.h" | 10 #include "SkBitmapDevice.h" |
12 #include "SkBitmapProcShader.h" | 11 #include "SkBitmapProcShader.h" |
13 #include "SkDeferredCanvas.h" | 12 #include "SkDeferredCanvas.h" |
14 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
15 #include "SkShader.h" | 14 #include "SkShader.h" |
16 #include "../src/image/SkSurface_Base.h" | 15 #include "../src/image/SkSurface_Base.h" |
17 #include "../src/image/SkImagePriv.h" | 16 #include "../src/image/SkImagePriv.h" |
18 #if SK_SUPPORT_GPU | 17 #if SK_SUPPORT_GPU |
19 #include "GrContextFactory.h" | 18 #include "GrContextFactory.h" |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 TestDeferredCanvasBitmapSizeThreshold(reporter); | 843 TestDeferredCanvasBitmapSizeThreshold(reporter); |
845 TestDeferredCanvasCreateCompatibleDevice(reporter); | 844 TestDeferredCanvasCreateCompatibleDevice(reporter); |
846 TestDeferredCanvasWritePixelsToSurface(reporter); | 845 TestDeferredCanvasWritePixelsToSurface(reporter); |
847 TestDeferredCanvasSurface(reporter, NULL); | 846 TestDeferredCanvasSurface(reporter, NULL); |
848 TestDeferredCanvasSetSurface(reporter, NULL); | 847 TestDeferredCanvasSetSurface(reporter, NULL); |
849 if (NULL != factory) { | 848 if (NULL != factory) { |
850 TestDeferredCanvasSurface(reporter, factory); | 849 TestDeferredCanvasSurface(reporter, factory); |
851 TestDeferredCanvasSetSurface(reporter, factory); | 850 TestDeferredCanvasSetSurface(reporter, factory); |
852 } | 851 } |
853 } | 852 } |
OLD | NEW |