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

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

Issue 660573002: Split GrFragmentProcessor into its own header (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add file to git 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 | « src/effects/SkTableColorFilter.cpp ('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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 static inline int next_dither_toggle16(int toggle) { 292 static inline int next_dither_toggle16(int toggle) {
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 "GrFragmentProcessor.h"
301 #include "gl/GrGLProcessor.h" 302 #include "gl/GrGLProcessor.h"
302 303
303 class GrFragmentStage; 304 class GrFragmentStage;
304 class GrBackendProcessorFactory; 305 class GrBackendProcessorFactory;
305 306
306 /* 307 /*
307 * The interpretation of the texture matrix depends on the sample mode. The 308 * The interpretation of the texture matrix depends on the sample mode. The
308 * texture matrix is applied both when the texture coordinates are explicit 309 * texture matrix is applied both when the texture coordinates are explicit
309 * and when vertex positions are used as texture coordinates. In the latter 310 * 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 311 * case the texture matrix is applied to the pre-view-matrix position
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 GrGLProgramDataManager::UniformHandle fColorStartUni; 467 GrGLProgramDataManager::UniformHandle fColorStartUni;
467 GrGLProgramDataManager::UniformHandle fColorMidUni; 468 GrGLProgramDataManager::UniformHandle fColorMidUni;
468 GrGLProgramDataManager::UniformHandle fColorEndUni; 469 GrGLProgramDataManager::UniformHandle fColorEndUni;
469 470
470 typedef GrGLFragmentProcessor INHERITED; 471 typedef GrGLFragmentProcessor INHERITED;
471 }; 472 };
472 473
473 #endif 474 #endif
474 475
475 #endif 476 #endif
OLDNEW
« no previous file with comments | « src/effects/SkTableColorFilter.cpp ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698