Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: src/effects/gradients/SkGradientShaderPriv.h

Issue 1246193002: Moved GrGLFragmentProcessor definition to its own file (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/effects/SkTableColorFilter.cpp ('k') | src/gpu/effects/GrBezierEffect.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 static inline int next_dither_toggle16(int toggle) { 287 static inline int next_dither_toggle16(int toggle) {
288 return toggle ^ SkGradientShaderBase::kDitherStride16; 288 return toggle ^ SkGradientShaderBase::kDitherStride16;
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/GrGLFragmentProcessor.h"
298 298
299 class GrInvariantOutput; 299 class GrInvariantOutput;
300 300
301 /* 301 /*
302 * 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
303 * texture matrix is applied both when the texture coordinates are explicit 303 * texture matrix is applied both when the texture coordinates are explicit
304 * 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
305 * 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
306 * values. 306 * values.
307 * 307 *
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 GrGLProgramDataManager::UniformHandle fColorStartUni; 446 GrGLProgramDataManager::UniformHandle fColorStartUni;
447 GrGLProgramDataManager::UniformHandle fColorMidUni; 447 GrGLProgramDataManager::UniformHandle fColorMidUni;
448 GrGLProgramDataManager::UniformHandle fColorEndUni; 448 GrGLProgramDataManager::UniformHandle fColorEndUni;
449 449
450 typedef GrGLFragmentProcessor INHERITED; 450 typedef GrGLFragmentProcessor INHERITED;
451 }; 451 };
452 452
453 #endif 453 #endif
454 454
455 #endif 455 #endif
OLDNEW
« no previous file with comments | « src/effects/SkTableColorFilter.cpp ('k') | src/gpu/effects/GrBezierEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698