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

Unified Diff: include/gpu/GrDrawContext.h

Issue 1754353002: Revert of Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « include/gpu/GrClip.h ('k') | src/gpu/GrClipMaskManager.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 1643cc9678156ad3f0ce1674b6847a5231c08efa..bde2f4a9d4b11cd23bb0abf13e02017e0ad1e039 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -11,7 +11,6 @@
#include "GrColor.h"
#include "GrRenderTarget.h"
#include "SkRefCnt.h"
-#include "SkRegion.h"
#include "SkSurfaceProps.h"
#include "../private/GrSingleOwner.h"
@@ -20,7 +19,6 @@
class GrClip;
class GrContext;
class GrDrawBatch;
-class GrDrawContextPriv;
class GrDrawPathBatchBase;
class GrDrawingManager;
class GrDrawTarget;
@@ -279,9 +277,9 @@
GrRenderTarget* accessRenderTarget() { return fRenderTarget; }
- // Provides access to functions that aren't part of the public API.
- GrDrawContextPriv drawContextPriv();
- const GrDrawContextPriv drawContextPriv() const;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ // Functions intended for internal use only.
+ void internal_drawBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawBatch* batch);
protected:
GrDrawContext(GrContext*, GrDrawingManager*, GrRenderTarget*,
@@ -297,7 +295,6 @@
private:
friend class GrAtlasTextBlob; // for access to drawBatch
friend class GrDrawingManager; // for ctor
- friend class GrDrawContextPriv;
bool drawFilledDRRect(const GrClip& clip,
const GrPaint& paint,
@@ -305,10 +302,6 @@
const SkRRect& origOuter,
const SkRRect& origInner);
- GrDrawBatch* getFillRectBatch(const GrPaint& paint,
- const SkMatrix& viewMatrix,
- const SkRect& rect);
-
void internalDrawPath(const GrClip& clip,
const GrPaint& paint,
const SkMatrix& viewMatrix,
« no previous file with comments | « include/gpu/GrClip.h ('k') | src/gpu/GrClipMaskManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698