diff options
author | egdaniel <egdaniel@google.com> | 2015-01-22 10:16:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-22 10:16:09 -0800 |
commit | 8dd688b7569df569a672a8a67b2db86a9d376cfc (patch) | |
tree | e173468f68becd63d0796010c6ddf15215912d3b /include | |
parent | e44acc9617b875e2ffc84cdf938a5e359e8e8edb (diff) |
Rename GrOptDrawState to GrPipeline and GrDrawState to GrPipelineBuilder
BUG=skia:
Review URL: https://codereview.chromium.org/858343002
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, |