Cleanup ops that are storing GrPipelineOptimizations.
This is being stored and passed in places where it is unneeded or only 1 or 2 of its flags are needed.
Change-Id: Ifded9e645c0380e792708064ad69449653668acf
Reviewed-on: https://skia-review.googlesource.com/6583
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp
index 910c3c9..39d418b 100644
--- a/src/gpu/GrPathProcessor.cpp
+++ b/src/gpu/GrPathProcessor.cpp
@@ -114,13 +114,11 @@
};
GrPathProcessor::GrPathProcessor(GrColor color,
- const GrPipelineOptimizations& optimizations,
const SkMatrix& viewMatrix,
const SkMatrix& localMatrix)
: fColor(color)
, fViewMatrix(viewMatrix)
- , fLocalMatrix(localMatrix)
- , fOptimizations(optimizations) {
+ , fLocalMatrix(localMatrix) {
this->initClassID<GrPathProcessor>();
}