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

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

Issue 637003003: Opt state takes a GP instead of a GeometryStage (Closed) Base URL: https://skia.googlesource.com/skia.git@builder_cleanup
Patch Set: memory leaks fixed Created 6 years, 2 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 | « include/gpu/GrProcessorStage.h ('k') | src/gpu/GrDrawState.h » ('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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GrProcessorStage; 303 class GrFragmentStage;
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
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
OLDNEW
« no previous file with comments | « include/gpu/GrProcessorStage.h ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698