diff options
author | Mike Reed <reed@google.com> | 2018-02-05 15:59:23 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-05 21:17:51 +0000 |
commit | 547c8590a553efef7bcfb4c04e52072eb1271bea (patch) | |
tree | 73186b27c47a20059dfa97111e75288f4ad11b93 /src/gpu/GrProcessorSet.cpp | |
parent | ca9c879900a5bc8e7b12dafca5922a05570da6b1 (diff) |
gpu impl for compose and combine maskfilters
remove "warning" in GrProcessorSet about coverage-as-alpha (we think the current behavior is correct)
update gpudevice::drawImage to check for maskfilter before trying to create its mask
Bug: skia:
Change-Id: I9ecb6cd25dd003bc19fa1e33edf6614a5ba4acb7
Reviewed-on: https://skia-review.googlesource.com/103761
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrProcessorSet.cpp')
-rw-r--r-- | src/gpu/GrProcessorSet.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrProcessorSet.cpp b/src/gpu/GrProcessorSet.cpp index 0601d92db8..919ff47e3f 100644 --- a/src/gpu/GrProcessorSet.cpp +++ b/src/gpu/GrProcessorSet.cpp @@ -181,9 +181,6 @@ GrProcessorSet::Analysis GrProcessorSet::finalize(const GrProcessorAnalysisColor for (int i = 0; i < n; ++i) { if (!fps[i]->compatibleWithCoverageAsAlpha()) { analysis.fCompatibleWithCoverageAsAlpha = false; - // Other than tests that exercise atypical behavior we expect all coverage FPs to be - // compatible with the coverage-as-alpha optimization. - GrCapsDebugf(&caps, "Coverage FP is not compatible with coverage as alpha.\n"); } coverageUsesLocalCoords |= fps[i]->usesLocalCoords(); } |