diff options
author | 2017-02-14 11:33:01 -0500 | |
---|---|---|
committer | 2017-02-14 16:34:59 +0000 | |
commit | c6b7146eef808dc7b60a1d5f49eb98f947c0bfe3 (patch) | |
tree | e10cc1fffb231ffc75cb62e1e705d695aac831fa /src/gpu/ops/GrAAHairLinePathRenderer.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/GrAAHairLinePathRenderer.cpp')
-rw-r--r-- | src/gpu/ops/GrAAHairLinePathRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrAAHairLinePathRenderer.cpp b/src/gpu/ops/GrAAHairLinePathRenderer.cpp index 09f6c04308..820cf3db5f 100644 --- a/src/gpu/ops/GrAAHairLinePathRenderer.cpp +++ b/src/gpu/ops/GrAAHairLinePathRenderer.cpp @@ -717,8 +717,8 @@ private: } void getPipelineAnalysisInput(GrPipelineAnalysisDrawOpInput* input) const override { - input->pipelineColorInput()->setKnownFourComponents(fColor); - input->pipelineCoverageInput()->setUnknownSingleComponent(); + input->pipelineColorInput()->setToConstant(fColor); + input->pipelineCoverageInput()->setToUnknown(); } void applyPipelineOptimizations(const GrPipelineOptimizations& optimizations) override { |