aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathProcessor.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-01-04 13:25:17 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-05 20:01:26 +0000
commitecea86af4170a52cda5c64dd187ddbe157a682ee (patch)
treee1d59a210029965ec825a43e809a797ba03b88a6 /src/gpu/GrPathProcessor.cpp
parentef6bbbd06374cf7ef175c780ec9ac87c43386532 (diff)
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>
Diffstat (limited to 'src/gpu/GrPathProcessor.cpp')
-rw-r--r--src/gpu/GrPathProcessor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp
index 910c3c919e..39d418ba6b 100644
--- a/src/gpu/GrPathProcessor.cpp
+++ b/src/gpu/GrPathProcessor.cpp
@@ -114,13 +114,11 @@ private:
};
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>();
}