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 "gm.h" | 8 #include "gm.h" |
9 #if SK_SUPPORT_GPU | 9 #if SK_SUPPORT_GPU |
10 #include "GrFragmentProcessor.h" | 10 #include "GrFragmentProcessor.h" |
11 #include "GrCoordTransform.h" | 11 #include "GrCoordTransform.h" |
| 12 #include "GrInvariantOutput.h" |
12 #include "effects/GrXfermodeFragmentProcessor.h" | 13 #include "effects/GrXfermodeFragmentProcessor.h" |
13 #include "glsl/GrGLSLFragmentProcessor.h" | 14 #include "glsl/GrGLSLFragmentProcessor.h" |
14 #include "glsl/GrGLSLFragmentShaderBuilder.h" | 15 #include "glsl/GrGLSLFragmentShaderBuilder.h" |
15 #include "glsl/GrGLSLProgramBuilder.h" | 16 #include "glsl/GrGLSLProgramBuilder.h" |
16 #include "glsl/GrGLSLProgramDataManager.h" | 17 #include "glsl/GrGLSLProgramDataManager.h" |
17 #include "Resources.h" | 18 #include "Resources.h" |
18 #include "SkReadBuffer.h" | 19 #include "SkReadBuffer.h" |
19 #include "SkShader.h" | 20 #include "SkShader.h" |
20 #include "SkStream.h" | 21 #include "SkStream.h" |
21 #include "SkTypeface.h" | 22 #include "SkTypeface.h" |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 }; | 293 }; |
293 | 294 |
294 SkTArray<Prim*> fPrims; | 295 SkTArray<Prim*> fPrims; |
295 | 296 |
296 typedef GM INHERITED; | 297 typedef GM INHERITED; |
297 }; | 298 }; |
298 | 299 |
299 DEF_GM(return new DCShaderGM;) | 300 DEF_GM(return new DCShaderGM;) |
300 } | 301 } |
301 #endif | 302 #endif |
OLD | NEW |