diff options
Diffstat (limited to 'include/gpu/GrDrawContext.h')
-rw-r--r-- | include/gpu/GrDrawContext.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 1643cc9678..bde2f4a9d4 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 GrAuditTrail; class GrClip; class GrContext; class GrDrawBatch; -class GrDrawContextPriv; class GrDrawPathBatchBase; class GrDrawingManager; class GrDrawTarget; @@ -279,9 +277,9 @@ public: 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 @@ protected: 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 @@ private: 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, |