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 #ifndef SkGradientShaderPriv_DEFINED | 8 #ifndef SkGradientShaderPriv_DEFINED |
9 #define SkGradientShaderPriv_DEFINED | 9 #define SkGradientShaderPriv_DEFINED |
10 | 10 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 289 } |
290 | 290 |
291 /////////////////////////////////////////////////////////////////////////////// | 291 /////////////////////////////////////////////////////////////////////////////// |
292 | 292 |
293 #if SK_SUPPORT_GPU | 293 #if SK_SUPPORT_GPU |
294 | 294 |
295 #include "GrCoordTransform.h" | 295 #include "GrCoordTransform.h" |
296 #include "GrFragmentProcessor.h" | 296 #include "GrFragmentProcessor.h" |
297 #include "gl/GrGLProcessor.h" | 297 #include "gl/GrGLProcessor.h" |
298 | 298 |
299 class GrFragmentStage; | |
300 class GrInvariantOutput; | 299 class GrInvariantOutput; |
301 | 300 |
302 /* | 301 /* |
303 * The interpretation of the texture matrix depends on the sample mode. The | 302 * The interpretation of the texture matrix depends on the sample mode. The |
304 * texture matrix is applied both when the texture coordinates are explicit | 303 * texture matrix is applied both when the texture coordinates are explicit |
305 * and when vertex positions are used as texture coordinates. In the latter | 304 * and when vertex positions are used as texture coordinates. In the latter |
306 * case the texture matrix is applied to the pre-view-matrix position | 305 * case the texture matrix is applied to the pre-view-matrix position |
307 * values. | 306 * values. |
308 * | 307 * |
309 * Normal SampleMode | 308 * Normal SampleMode |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 GrGLProgramDataManager::UniformHandle fColorStartUni; | 446 GrGLProgramDataManager::UniformHandle fColorStartUni; |
448 GrGLProgramDataManager::UniformHandle fColorMidUni; | 447 GrGLProgramDataManager::UniformHandle fColorMidUni; |
449 GrGLProgramDataManager::UniformHandle fColorEndUni; | 448 GrGLProgramDataManager::UniformHandle fColorEndUni; |
450 | 449 |
451 typedef GrGLFragmentProcessor INHERITED; | 450 typedef GrGLFragmentProcessor INHERITED; |
452 }; | 451 }; |
453 | 452 |
454 #endif | 453 #endif |
455 | 454 |
456 #endif | 455 #endif |
OLD | NEW |