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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 return toggle ^ SkGradientShaderBase::kDitherStride16; | 293 return toggle ^ SkGradientShaderBase::kDitherStride16; |
294 } | 294 } |
295 | 295 |
296 /////////////////////////////////////////////////////////////////////////////// | 296 /////////////////////////////////////////////////////////////////////////////// |
297 | 297 |
298 #if SK_SUPPORT_GPU | 298 #if SK_SUPPORT_GPU |
299 | 299 |
300 #include "GrCoordTransform.h" | 300 #include "GrCoordTransform.h" |
301 #include "gl/GrGLProcessor.h" | 301 #include "gl/GrGLProcessor.h" |
302 | 302 |
303 class GrFragmentStage; | 303 class GrProcessorStage; |
304 class GrBackendProcessorFactory; | 304 class GrBackendProcessorFactory; |
305 | 305 |
306 /* | 306 /* |
307 * The interpretation of the texture matrix depends on the sample mode. The | 307 * The interpretation of the texture matrix depends on the sample mode. The |
308 * texture matrix is applied both when the texture coordinates are explicit | 308 * texture matrix is applied both when the texture coordinates are explicit |
309 * and when vertex positions are used as texture coordinates. In the latter | 309 * and when vertex positions are used as texture coordinates. In the latter |
310 * case the texture matrix is applied to the pre-view-matrix position | 310 * case the texture matrix is applied to the pre-view-matrix position |
311 * values. | 311 * values. |
312 * | 312 * |
313 * Normal SampleMode | 313 * Normal SampleMode |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 GrGLProgramDataManager::UniformHandle fColorStartUni; | 466 GrGLProgramDataManager::UniformHandle fColorStartUni; |
467 GrGLProgramDataManager::UniformHandle fColorMidUni; | 467 GrGLProgramDataManager::UniformHandle fColorMidUni; |
468 GrGLProgramDataManager::UniformHandle fColorEndUni; | 468 GrGLProgramDataManager::UniformHandle fColorEndUni; |
469 | 469 |
470 typedef GrGLFragmentProcessor INHERITED; | 470 typedef GrGLFragmentProcessor INHERITED; |
471 }; | 471 }; |
472 | 472 |
473 #endif | 473 #endif |
474 | 474 |
475 #endif | 475 #endif |
OLD | NEW |