Simplify GrPaint::isConstantBlendedColor to avoid FP analysis and XP virtual calls
authorBrian Salomon <bsalomon@google.com>
Tue, 21 Feb 2017 16:31:40 +0000 (11:31 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 21 Feb 2017 18:29:37 +0000 (18:29 +0000)
commit00b2cca30033c984662ccc7d1eaed962b3714ad7
tree97a07f4d63c8240eda0ab86db3e9882299b19c8e
parent4eabd5d88aec712f5d0643a2f814aea7403d2119
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>
include/gpu/GrPaint.h
include/gpu/GrXferProcessor.h
include/gpu/effects/GrCoverageSetOpXP.h
include/gpu/effects/GrPorterDuffXferProcessor.h
src/gpu/GrPaint.cpp
src/gpu/GrXferProcessor.cpp
src/gpu/effects/GrCustomXfermode.cpp
src/gpu/effects/GrDisableColorXP.h
src/gpu/effects/GrPorterDuffXferProcessor.cpp
tests/GrPorterDuffTest.cpp