diff options
author | 2017-02-22 11:52:03 -0500 | |
---|---|---|
committer | 2017-02-22 19:41:30 +0000 | |
commit | 5298dc8bf30f580f551d130346c007efaf4b2098 (patch) | |
tree | ea8df60caf9add5e08f06bdd6615f67307256f23 /src/gpu/ops/GrMSAAPathRenderer.cpp | |
parent | 3661bc997620899695041010a750d11dbe8a972d (diff) |
Make GrPipelineAnalysis a nested class of GrProcessorSet.
It is renamed to FragmentProcessorAnalysis since it represents the outputs of the final FPs.
It now stores the analysis results that are subsequently needed rather than exposing GrProcOptInfo.
GrProcOptInfo is now only used on color FPs (not coverage).
Miscellaneous related renamings.
Change-Id: I95c518a7a76df6dc294a9fa67c611f8f653247bc
Reviewed-on: https://skia-review.googlesource.com/8534
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops/GrMSAAPathRenderer.cpp')
-rw-r--r-- | src/gpu/ops/GrMSAAPathRenderer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/ops/GrMSAAPathRenderer.cpp b/src/gpu/ops/GrMSAAPathRenderer.cpp index e8fb4987a1..ca760e81d4 100644 --- a/src/gpu/ops/GrMSAAPathRenderer.cpp +++ b/src/gpu/ops/GrMSAAPathRenderer.cpp @@ -259,9 +259,9 @@ private: this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); } - void getPipelineAnalysisInput(GrPipelineAnalysisDrawOpInput* input) const override { - input->pipelineColorInput()->setToConstant(fPaths[0].fColor); - input->pipelineCoverageInput()->setToSolidCoverage(); + void getFragmentProcessorAnalysisInputs(FragmentProcessorAnalysisInputs* input) const override { + input->colorInput()->setToConstant(fPaths[0].fColor); + input->coverageInput()->setToSolidCoverage(); } void applyPipelineOptimizations(const GrPipelineOptimizations& optimizations) override { |