diff options
author | Brian Salomon <bsalomon@google.com> | 2017-02-14 11:33:01 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-14 16:34:59 +0000 |
commit | c6b7146eef808dc7b60a1d5f49eb98f947c0bfe3 (patch) | |
tree | e10cc1fffb231ffc75cb62e1e705d695aac831fa /src/gpu/ops/GrLatticeOp.cpp | |
parent | 9a51498720e234b413e5a3c46d38ab40bda131de (diff) |
Remove component flags from GrPipelineInput.
We don't use these anywhere downstream except to check for opaqueness.
Change-Id: I897137135d69004ed45c0f4c1e7297183f49fc6d
Reviewed-on: https://skia-review.googlesource.com/8402
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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrLatticeOp.cpp b/src/gpu/ops/GrLatticeOp.cpp index 319e505745..8e7049cc93 100644 --- a/src/gpu/ops/GrLatticeOp.cpp +++ b/src/gpu/ops/GrLatticeOp.cpp @@ -62,8 +62,8 @@ public: private: void getPipelineAnalysisInput(GrPipelineAnalysisDrawOpInput* input) const override { - input->pipelineColorInput()->setUnknownFourComponents(); - input->pipelineCoverageInput()->setKnownSingleComponent(0xff); + input->pipelineColorInput()->setToUnknown(); + input->pipelineCoverageInput()->setToSolidCoverage(); } void applyPipelineOptimizations(const GrPipelineOptimizations& analysioptimizations) override { |