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

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

Issue 1293973003: Path stenciling in GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@rmcode
Patch Set: header order tweak Created 5 years, 4 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/GrCommandBuilder.h ('k') | src/gpu/GrDrawTarget.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 * Copyright 2010 Google Inc. 2 * Copyright 2010 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 GrXferProcessor::DstTexture*, 236 GrXferProcessor::DstTexture*,
237 const SkRect* drawBounds); 237 const SkRect* drawBounds);
238 238
239 virtual void onDrawBatch(GrBatch*) = 0; 239 virtual void onDrawBatch(GrBatch*) = 0;
240 240
241 private: 241 private:
242 virtual void onReset() = 0; 242 virtual void onReset() = 0;
243 243
244 virtual void onFlush() = 0; 244 virtual void onFlush() = 0;
245 245
246 virtual void onStencilPath(const GrPipelineBuilder&,
247 const GrPathProcessor*,
248 const GrPath*,
249 const GrScissorState&,
250 const GrStencilSettings&) = 0;
251 virtual void onDrawPath(const GrPathProcessor*, 246 virtual void onDrawPath(const GrPathProcessor*,
252 const GrPath*, 247 const GrPath*,
253 const GrStencilSettings&, 248 const GrStencilSettings&,
254 const PipelineInfo&) = 0; 249 const PipelineInfo&) = 0;
255 virtual void onDrawPaths(const GrPathProcessor*, 250 virtual void onDrawPaths(const GrPathProcessor*,
256 const GrPathRange*, 251 const GrPathRange*,
257 const void* indices, 252 const void* indices,
258 PathIndexType, 253 PathIndexType,
259 const float transformValues[], 254 const float transformValues[],
260 PathTransformType, 255 PathTransformType,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 bool setupClip(const GrPipelineBuilder&, 318 bool setupClip(const GrPipelineBuilder&,
324 GrPipelineBuilder::AutoRestoreFragmentProcessorState*, 319 GrPipelineBuilder::AutoRestoreFragmentProcessorState*,
325 GrPipelineBuilder::AutoRestoreStencil*, 320 GrPipelineBuilder::AutoRestoreStencil*,
326 GrScissorState* scissorState, 321 GrScissorState* scissorState,
327 const SkRect* devBounds) override; 322 const SkRect* devBounds) override;
328 323
329 typedef GrDrawTarget INHERITED; 324 typedef GrDrawTarget INHERITED;
330 }; 325 };
331 326
332 #endif 327 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrCommandBuilder.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698