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

Side by Side Diff: src/gpu/GrPathRenderer.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/gpu/GrPathRange.h ('k') | src/gpu/GrPathRenderer.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
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 #ifndef GrPathRenderer_DEFINED 8 #ifndef GrPathRenderer_DEFINED
10 #define GrPathRenderer_DEFINED 9 #define GrPathRenderer_DEFINED
11 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 SkDEBUGCODE(args.validate();) 149 SkDEBUGCODE(args.validate();)
151 #ifdef SK_DEBUG 150 #ifdef SK_DEBUG
152 CanDrawPathArgs canArgs; 151 CanDrawPathArgs canArgs;
153 canArgs.fShaderCaps = args.fTarget->caps()->shaderCaps(); 152 canArgs.fShaderCaps = args.fTarget->caps()->shaderCaps();
154 canArgs.fViewMatrix = args.fViewMatrix; 153 canArgs.fViewMatrix = args.fViewMatrix;
155 canArgs.fPath = args.fPath; 154 canArgs.fPath = args.fPath;
156 canArgs.fStroke = args.fStroke; 155 canArgs.fStroke = args.fStroke;
157 canArgs.fAntiAlias = args.fAntiAlias; 156 canArgs.fAntiAlias = args.fAntiAlias;
158 157
159 canArgs.fIsStencilDisabled = args.fPipelineBuilder->getStencil().isDisab led(); 158 canArgs.fIsStencilDisabled = args.fPipelineBuilder->getStencil().isDisab led();
160 canArgs.fIsStencilBufferMSAA = 159 canArgs.fIsStencilBufferMSAA =
161 args.fPipelineBuilder->getRenderTarget()->isStencilBuf ferMultisampled(); 160 args.fPipelineBuilder->getRenderTarget()->isStencilBuf ferMultisampled();
162 SkASSERT(this->canDrawPath(canArgs)); 161 SkASSERT(this->canDrawPath(canArgs));
163 SkASSERT(args.fPipelineBuilder->getStencil().isDisabled() || 162 SkASSERT(args.fPipelineBuilder->getStencil().isDisabled() ||
164 kNoRestriction_StencilSupport == this->getStencilSupport(*args. fPath, 163 kNoRestriction_StencilSupport == this->getStencilSupport(*args. fPath,
165 *args. fStroke)); 164 *args. fStroke));
166 #endif 165 #endif
167 return this->onDrawPath(args); 166 return this->onDrawPath(args);
168 } 167 }
169 168
170 /* Args to stencilPath(). 169 /* Args to stencilPath().
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 drawArgs.fStroke = args.fStroke; 282 drawArgs.fStroke = args.fStroke;
284 drawArgs.fAntiAlias = false; 283 drawArgs.fAntiAlias = false;
285 this->drawPath(drawArgs); 284 this->drawPath(drawArgs);
286 } 285 }
287 286
288 287
289 typedef SkRefCnt INHERITED; 288 typedef SkRefCnt INHERITED;
290 }; 289 };
291 290
292 #endif 291 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPathRange.h ('k') | src/gpu/GrPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698