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

Side by Side Diff: include/gpu/GrPaint.h

Issue 196133014: Implement text rendering with NVPR (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix VS "performance warning" converting int to bool Created 6 years, 6 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/GrContext.h ('k') | src/gpu/GrContext.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef GrPaint_DEFINED 10 #ifndef GrPaint_DEFINED
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 return false; 207 return false;
208 } else { 208 } else {
209 computed = true; 209 computed = true;
210 } 210 }
211 fCoverageStages[i].localCoordChange(oldToNew); 211 fCoverageStages[i].localCoordChange(oldToNew);
212 } 212 }
213 return true; 213 return true;
214 } 214 }
215 215
216 friend class GrContext; // To access above two functions 216 friend class GrContext; // To access above two functions
217 friend class GrStencilAndCoverTextContext; // To access above two functions
217 218
218 SkSTArray<4, GrEffectStage> fColorStages; 219 SkSTArray<4, GrEffectStage> fColorStages;
219 SkSTArray<2, GrEffectStage> fCoverageStages; 220 SkSTArray<2, GrEffectStage> fCoverageStages;
220 221
221 GrBlendCoeff fSrcBlendCoeff; 222 GrBlendCoeff fSrcBlendCoeff;
222 GrBlendCoeff fDstBlendCoeff; 223 GrBlendCoeff fDstBlendCoeff;
223 bool fAntiAlias; 224 bool fAntiAlias;
224 bool fDither; 225 bool fDither;
225 226
226 GrColor fColor; 227 GrColor fColor;
(...skipping 17 matching lines...) Expand all
244 fCoverage = 0xff; 245 fCoverage = 0xff;
245 } 246 }
246 247
247 void resetStages() { 248 void resetStages() {
248 fColorStages.reset(); 249 fColorStages.reset();
249 fCoverageStages.reset(); 250 fCoverageStages.reset();
250 } 251 }
251 }; 252 };
252 253
253 #endif 254 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698