aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrLatticeOp.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-03-29 12:09:15 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-29 16:46:07 +0000
commite7d30484ea8a5677a9403ccd23a9c0961df62ccd (patch)
tree140df99fdbf67a023fa0b31223b9c5169774f29f /src/gpu/ops/GrLatticeOp.cpp
parent4a24e10a0b805af6106dd8f7225c10a703696245 (diff)
Remove GrPipelineOptimizations computation from GrPipeline::init and nest in GrMeshDrawOp.
Change-Id: I4a702c83857606c1cb050294c408922eef5769ea Reviewed-on: https://skia-review.googlesource.com/10414 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrLatticeOp.cpp')
-rw-r--r--src/gpu/ops/GrLatticeOp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrLatticeOp.cpp b/src/gpu/ops/GrLatticeOp.cpp
index 598a83907d..85ddd9d612 100644
--- a/src/gpu/ops/GrLatticeOp.cpp
+++ b/src/gpu/ops/GrLatticeOp.cpp
@@ -67,7 +67,7 @@ private:
*coverage = GrPipelineAnalysisCoverage::kNone;
}
- void applyPipelineOptimizations(const GrPipelineOptimizations& analysioptimizations) override {
+ void applyPipelineOptimizations(const PipelineOptimizations& analysioptimizations) override {
analysioptimizations.getOverrideColorIfSet(&fPatches[0].fColor);
}