diff options
author | Brian Salomon <bsalomon@google.com> | 2017-01-04 10:44:42 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-04 16:37:18 +0000 |
commit | 8c852be264d003b2e610c5b8634bc0f81c46bbba (patch) | |
tree | d67ab88ace56ed44725325310325428ffdb09437 /src/gpu/ops/GrOvalOpFactory.cpp | |
parent | 1e854246e6ce431838de882116b86f085eb7b08e (diff) |
Removing tracking of whether GP/FP coverage calculations are used by XP.
Remove readsCoverage from GrPipelineOptimizations
Remove kNone from GrDefaultGeoProc::Coverage
Remove kIgnoreCoverage from GrXferProcessor::OptFlags
Remove GrPipeline::fIgnoresCoverage
Change-Id: I8f0c9337ee98b9c77af1e9a8a184519ce63822d4
Reviewed-on: https://skia-review.googlesource.com/6552
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrOvalOpFactory.cpp')
-rw-r--r-- | src/gpu/ops/GrOvalOpFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp index a01402071a..51db03542c 100644 --- a/src/gpu/ops/GrOvalOpFactory.cpp +++ b/src/gpu/ops/GrOvalOpFactory.cpp @@ -1251,7 +1251,7 @@ private: } void applyPipelineOptimizations(const GrPipelineOptimizations& optimizations) override { - if (!optimizations.readsCoverage()) { + if (!optimizations.readsColor()) { fGeoData[0].fColor = GrColor_ILLEGAL; } if (!optimizations.readsLocalCoords()) { |