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

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

Issue 197763008: Allow toString capability to be toggled independent of developer mode (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: remove gyp changes Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/effects/gradients/SkGradientShader.cpp ('k') | src/effects/gradients/SkLinearGradient.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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 /// This value is used to *read* the dither cache; it may be 0 125 /// This value is used to *read* the dither cache; it may be 0
126 /// if dithering is disabled. 126 /// if dithering is disabled.
127 kDitherStride32 = kCache32Count, 127 kDitherStride32 = kCache32Count,
128 kDitherStride16 = kCache16Count, 128 kDitherStride16 = kCache16Count,
129 }; 129 };
130 130
131 131
132 protected: 132 protected:
133 SkGradientShaderBase(SkReadBuffer& ); 133 SkGradientShaderBase(SkReadBuffer& );
134 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 134 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
135 SK_DEVELOPER_TO_STRING() 135 SK_TO_STRING_OVERRIDE()
136 136
137 SkUnitMapper* fMapper; 137 SkUnitMapper* fMapper;
138 SkMatrix fPtsToUnit; // set by subclass 138 SkMatrix fPtsToUnit; // set by subclass
139 SkMatrix fDstToIndex; 139 SkMatrix fDstToIndex;
140 SkMatrix::MapXYProc fDstToIndexProc; 140 SkMatrix::MapXYProc fDstToIndexProc;
141 TileMode fTileMode; 141 TileMode fTileMode;
142 TileProc fTileProc; 142 TileProc fTileProc;
143 int fColorCount; 143 int fColorCount;
144 uint8_t fDstToIndexClass; 144 uint8_t fDstToIndexClass;
145 uint8_t fFlags; 145 uint8_t fFlags;
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 GrGLUniformManager::UniformHandle fColorStartUni; 381 GrGLUniformManager::UniformHandle fColorStartUni;
382 GrGLUniformManager::UniformHandle fColorMidUni; 382 GrGLUniformManager::UniformHandle fColorMidUni;
383 GrGLUniformManager::UniformHandle fColorEndUni; 383 GrGLUniformManager::UniformHandle fColorEndUni;
384 384
385 typedef GrGLEffect INHERITED; 385 typedef GrGLEffect INHERITED;
386 }; 386 };
387 387
388 #endif 388 #endif
389 389
390 #endif 390 #endif
OLDNEW
« no previous file with comments | « src/effects/gradients/SkGradientShader.cpp ('k') | src/effects/gradients/SkLinearGradient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698