aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTessellatingPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-10 10:47:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-10 10:47:29 -0700
commit91d844de47bdc1c3f807c85293e46943dcfc712d (patch)
tree98e72b2f8b0a3f1028b149316f2bdbb1fcccb437 /src/gpu/GrTessellatingPathRenderer.cpp
parent7fc2a2610ec31a659fe2603f8960d376822d54cb (diff)
Rename GrPipelineInfo to GrPipelineOptimizations
TBR=joshualitt@google.com Review URL: https://codereview.chromium.org/1274513005
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) {