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

Unified Diff: include/gpu/GrDrawContext.h

Issue 1315563003: GrPathRangeBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix init order warning Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 552cfd3dc84e100e3df149e5dd316e1ecafd86c3..aae4bf00b36aab05047d2953635d4bd35bc350ba 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -18,7 +18,7 @@ class GrDrawBatch;
class GrDrawTarget;
class GrPaint;
class GrPathProcessor;
-class GrPathRange;
+class GrPathRangeDraw;
class GrPipelineBuilder;
class GrRenderTarget;
class GrStrokeInfo;
@@ -61,17 +61,12 @@ public:
SkScalar x, SkScalar y,
SkDrawFilter*, const SkIRect& clipBounds);
- // drawPaths is thanks to GrStencilAndCoverTextContext
- // TODO: remove
- void drawPaths(GrPipelineBuilder* pipelineBuilder,
- const GrPathProcessor* pathProc,
- const GrPathRange* pathRange,
- const void* indices,
- int /*GrDrawTarget::PathIndexType*/ indexType,
- const float transformValues[],
- int /*GrDrawTarget::PathTransformType*/ transformType,
- int count,
- int /*GrPathRendering::FillType*/ fill);
+ // drawPathsFromRange is thanks to GrStencilAndCoverTextContext
+ // TODO: remove once path batches can be created external to GrDrawTarget.
+ void drawPathsFromRange(const GrPipelineBuilder*,
+ const GrPathProcessor*,
+ GrPathRangeDraw* draw,
+ int /*GrPathRendering::FillType*/ fill);
/**
* Provides a perfomance hint that the render target's contents are allowed
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698