diff options
author | 2017-01-17 10:44:34 -0500 | |
---|---|---|
committer | 2017-01-17 16:15:00 +0000 | |
commit | aab259ea9ecabb3addcade3fba72d777bc7673e8 (patch) | |
tree | 0bff151c79e5833805792c8839207197f36f3d47 /src/gpu/ops/GrDrawOp.cpp | |
parent | 46784be70c4712942163bb2ade9e7364bca47157 (diff) |
Simplify GrProcOptInfo initialization.
Removes unused single channel tracking.
Makes it so that only the op/gp can initiate lcd coverage.
Makes GrProcOptInfo fragment processor analysis continuable.
Change-Id: I003a8aa3836bb64d04b230ddee581dc500e613a9
Reviewed-on: https://skia-review.googlesource.com/7039
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops/GrDrawOp.cpp')
-rw-r--r-- | src/gpu/ops/GrDrawOp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrDrawOp.cpp b/src/gpu/ops/GrDrawOp.cpp index f778601aba..1fd2182b2a 100644 --- a/src/gpu/ops/GrDrawOp.cpp +++ b/src/gpu/ops/GrDrawOp.cpp @@ -20,8 +20,8 @@ void GrDrawOp::initPipelineAnalysis(GrPipelineAnalysis* analysis) const { GrPipelineInput coverage; GrPipelineAnalysisDrawOpInput input(&color, &coverage); this->getPipelineAnalysisInput(&input); - analysis->fColorPOI.initFromPipelineInput(color); - analysis->fCoveragePOI.initFromPipelineInput(coverage); + analysis->fColorPOI.reset(color); + analysis->fCoveragePOI.reset(coverage); analysis->fUsesPLSDstRead = input.usesPLSDstRead(); } |