From 91d844de47bdc1c3f807c85293e46943dcfc712d Mon Sep 17 00:00:00 2001 From: bsalomon Date: Mon, 10 Aug 2015 10:47:29 -0700 Subject: Rename GrPipelineInfo to GrPipelineOptimizations TBR=joshualitt@google.com Review URL: https://codereview.chromium.org/1274513005 --- src/gpu/GrTessellatingPathRenderer.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gpu/GrTessellatingPathRenderer.cpp') diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp index 28a43f1604..4d23217d03 100644 --- a/src/gpu/GrTessellatingPathRenderer.cpp +++ b/src/gpu/GrTessellatingPathRenderer.cpp @@ -1413,13 +1413,13 @@ public: out->setUnknownSingleComponent(); } - void initBatchTracker(const GrPipelineInfo& init) override { + void initBatchTracker(const GrPipelineOptimizations& opt) override { // Handle any color overrides - if (!init.readsColor()) { + if (!opt.readsColor()) { fColor = GrColor_ILLEGAL; } - init.getOverrideColorIfSet(&fColor); - fPipelineInfo = init; + opt.getOverrideColorIfSet(&fColor); + fPipelineInfo = opt; } int tessellate(GrUniqueKey* key, @@ -1607,12 +1607,12 @@ private: viewMatrix.mapRect(&fBounds); } - GrColor fColor; - SkPath fPath; - GrStrokeInfo fStroke; - SkMatrix fViewMatrix; - SkRect fClipBounds; // in source space - GrPipelineInfo fPipelineInfo; + GrColor fColor; + SkPath fPath; + GrStrokeInfo fStroke; + SkMatrix fViewMatrix; + SkRect fClipBounds; // in source space + GrPipelineOptimizations fPipelineInfo; }; bool GrTessellatingPathRenderer::onDrawPath(const DrawPathArgs& args) { -- cgit v1.2.3