aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrCustomXfermode.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-02-21 11:31:40 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-21 18:29:37 +0000
commit00b2cca30033c984662ccc7d1eaed962b3714ad7 (patch)
tree97a07f4d63c8240eda0ab86db3e9882299b19c8e /src/gpu/effects/GrCustomXfermode.cpp
parent4eabd5d88aec712f5d0643a2f814aea7403d2119 (diff)
Simplify GrPaint::isConstantBlendedColor to avoid FP analysis and XP virtual calls
This was the only non-test user of GrXPFactory::isConstantPreCoverageBlendedColor which is now removed. Change-Id: Ic1c130d30a44e1a955b89f8912433a3c9df2e61e Reviewed-on: https://skia-review.googlesource.com/8776 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrCustomXfermode.cpp')
-rw-r--r--src/gpu/effects/GrCustomXfermode.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/effects/GrCustomXfermode.cpp b/src/gpu/effects/GrCustomXfermode.cpp
index 36936f8db1..43042e2366 100644
--- a/src/gpu/effects/GrCustomXfermode.cpp
+++ b/src/gpu/effects/GrCustomXfermode.cpp
@@ -338,11 +338,6 @@ private:
bool hasMixedSamples,
const DstTexture*) const override;
- bool isPreCoverageBlendedColorConstant(const GrProcOptInfo& colorInput,
- GrColor* color) const override {
- return false;
- }
-
bool willReadsDst(const GrProcOptInfo&, const GrProcOptInfo&) const override { return true; }
bool willReadDstInShader(const GrCaps&, ColorType, CoverageType) const override;