Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: src/gpu/GrTessellatingPathRenderer.cpp

Issue 1274513005: Rename GrPipelineInfo to GrPipelineOptimizations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrPrimitiveProcessor.h ('k') | src/gpu/batches/GrAAFillRectBatch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTessellatingPathRenderer.cpp
diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp
index 28a43f16041069d6237afea103ab5f6871492e1d..4d23217d0375f596133766a09823665866d15f04 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) {
« no previous file with comments | « src/gpu/GrPrimitiveProcessor.h ('k') | src/gpu/batches/GrAAFillRectBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698