OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "SkTypes.h" |
8 #if SK_SUPPORT_GPU | 9 #if SK_SUPPORT_GPU |
9 #include "GrContextFactory.h" | 10 #include "GrContextFactory.h" |
10 #endif | 11 #endif |
11 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
12 #include "SkImage.h" | 13 #include "SkImage.h" |
13 #include "SkShader.h" | 14 #include "SkShader.h" |
14 #include "SkSurface.h" | 15 #include "SkSurface.h" |
15 | 16 |
16 #include "Test.h" | 17 #include "Test.h" |
17 | 18 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 99 |
99 // GPU -> RASTER | 100 // GPU -> RASTER |
100 gpuToRaster(reporter, context); | 101 gpuToRaster(reporter, context); |
101 | 102 |
102 | 103 |
103 // RASTER -> GPU | 104 // RASTER -> GPU |
104 rasterToGpu(reporter, context); | 105 rasterToGpu(reporter, context); |
105 } | 106 } |
106 | 107 |
107 #endif | 108 #endif |
OLD | NEW |