aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTessellatingPathRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTessellatingPathRenderer.cpp')
-rw-r--r--src/gpu/GrTessellatingPathRenderer.cpp20
1 files changed, 10 insertions, 10 deletions
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) {