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

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

Issue 1465053002: Revert of Add stroking support to distance field path renderer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | src/gpu/batches/GrAADistanceFieldPathRenderer.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 /* 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 #ifndef GrPathRenderer_DEFINED 9 #ifndef GrPathRenderer_DEFINED
10 #define GrPathRenderer_DEFINED 10 #define GrPathRenderer_DEFINED
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 SkDEBUGCODE(args.validate();) 108 SkDEBUGCODE(args.validate();)
109 return this->onCanDrawPath(args); 109 return this->onCanDrawPath(args);
110 } 110 }
111 111
112 /** 112 /**
113 * Args to drawPath() 113 * Args to drawPath()
114 * 114 *
115 * fTarget The target that the path will be rendered to 115 * fTarget The target that the path will be rendered to
116 * fResourceProvider The resource provider for creating gpu resources t o render the path 116 * fResourceProvider The resource provider for creating gpu resources t o render the path
117 * fPipelineBuilder The pipelineBuilder 117 * fPipelineBuilder The pipelineBuilder
118 * fColor Color to render with
119 * fViewMatrix The viewMatrix 118 * fViewMatrix The viewMatrix
120 * fPath the path to draw. 119 * fPath the path to draw.
121 * fStroke the stroke information (width, join, cap) 120 * fStroke the stroke information (width, join, cap)
122 * fAntiAlias true if anti-aliasing is required. 121 * fAntiAlias true if anti-aliasing is required.
123 */ 122 */
124 struct DrawPathArgs { 123 struct DrawPathArgs {
125 GrDrawTarget* fTarget; 124 GrDrawTarget* fTarget;
126 GrResourceProvider* fResourceProvider; 125 GrResourceProvider* fResourceProvider;
127 GrPipelineBuilder* fPipelineBuilder; 126 GrPipelineBuilder* fPipelineBuilder;
128 GrColor fColor; 127 GrColor fColor;
(...skipping 154 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 | « no previous file | src/gpu/batches/GrAADistanceFieldPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698