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

Unified Diff: include/gpu/GrDrawContext.h

Issue 1966763002: Eliminate special case nvpr batch handling (Closed) Base URL: https://skia.googlesource.com/skia.git@reallyupload_userstencil
Patch Set: Created 4 years, 7 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 | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | src/gpu/GrPipeline.h » ('J')
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 7bb9aafc78127252680ee0c88ead0ac79617ae5a..a0aeec18b7d86a1f9a26fd94b1751056719e94cf 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -265,14 +265,6 @@ public:
*/
void drawBatch(const GrClip&, const GrPaint&, GrDrawBatch*);
- /**
- * Draws a path batch. This needs to be separate from drawBatch because we install path stencil
- * settings late.
- *
- * TODO: Figure out a better model that allows us to roll this method into drawBatch.
- */
- void drawPathBatch(const GrPipelineBuilder&, GrDrawPathBatchBase*);
-
int width() const { return fRenderTarget->width(); }
int height() const { return fRenderTarget->height(); }
int numColorSamples() const { return fRenderTarget->numColorSamples(); }
@@ -301,6 +293,7 @@ protected:
private:
friend class GrAtlasTextBlob; // for access to drawBatch
+ friend class GrStencilAndCoverTextContext; // for access to drawBatch
friend class GrDrawingManager; // for ctor
friend class GrDrawContextPriv;
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | src/gpu/GrPipeline.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698