diff options
author | Brian Salomon <bsalomon@google.com> | 2017-03-29 12:09:15 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-29 16:46:07 +0000 |
commit | e7d30484ea8a5677a9403ccd23a9c0961df62ccd (patch) | |
tree | 140df99fdbf67a023fa0b31223b9c5169774f29f /src/gpu/ops/GrTestMeshDrawOp.h | |
parent | 4a24e10a0b805af6106dd8f7225c10a703696245 (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/GrTestMeshDrawOp.h')
-rw-r--r-- | src/gpu/ops/GrTestMeshDrawOp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrTestMeshDrawOp.h b/src/gpu/ops/GrTestMeshDrawOp.h index a4bf066a34..8273abaed8 100644 --- a/src/gpu/ops/GrTestMeshDrawOp.h +++ b/src/gpu/ops/GrTestMeshDrawOp.h @@ -39,7 +39,7 @@ private: *coverage = GrPipelineAnalysisCoverage::kSingleChannel; } - void applyPipelineOptimizations(const GrPipelineOptimizations& optimizations) override { + void applyPipelineOptimizations(const PipelineOptimizations& optimizations) override { optimizations.getOverrideColorIfSet(&fColor); fUsesLocalCoords = optimizations.readsLocalCoords(); } |