diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 8 | ||||
-rw-r--r-- | include/gpu/GrPathRendererChain.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 23711b98ca..70d34c5c97 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -19,7 +19,6 @@ #include "SkTypes.h" class GrAARectRenderer; -class GrDrawState; class GrDrawTarget; class GrFontCache; class GrFragmentProcessor; @@ -32,6 +31,7 @@ class GrLayerCache; class GrOvalRenderer; class GrPath; class GrPathRenderer; +class GrPipelineBuilder; class GrResourceEntry; class GrResourceCache2; class GrTestTarget; @@ -773,7 +773,7 @@ public: GrPathRenderer* getPathRenderer( const GrDrawTarget* target, - const GrDrawState*, + const GrPipelineBuilder*, const SkMatrix& viewMatrix, const SkPath& path, const SkStrokeRec& stroke, @@ -861,10 +861,10 @@ private: class AutoCheckFlush; // Sets the paint and returns the target to draw into. This function is overloaded to either // take a GrDrawState, GrPaint, and AutoCheckFlush, or JUST an AutoCheckFlush - GrDrawTarget* prepareToDraw(GrDrawState* ds, const GrPaint* paint, const AutoCheckFlush*); + GrDrawTarget* prepareToDraw(GrPipelineBuilder*, const GrPaint* paint, const AutoCheckFlush*); void internalDrawPath(GrDrawTarget*, - GrDrawState*, + GrPipelineBuilder*, const SkMatrix& viewMatrix, GrColor, bool useAA, diff --git a/include/gpu/GrPathRendererChain.h b/include/gpu/GrPathRendererChain.h index 07d64949b2..9c4b976c9c 100644 --- a/include/gpu/GrPathRendererChain.h +++ b/include/gpu/GrPathRendererChain.h @@ -12,9 +12,9 @@ #include "SkTArray.h" class GrContext; -class GrDrawState; class GrDrawTarget; class GrPathRenderer; +class GrPipelineBuilder; class SkMatrix; class SkPath; class SkStrokeRec; @@ -58,7 +58,7 @@ public: whether the path can be rendered with arbitrary stencil rules or not. See comments on StencilSupport in GrPathRenderer.h. */ GrPathRenderer* getPathRenderer(const GrDrawTarget* target, - const GrDrawState*, + const GrPipelineBuilder*, const SkMatrix& viewMatrix, const SkPath& path, const SkStrokeRec& rec, |