diff options
author | cdalton <cdalton@nvidia.com> | 2015-06-02 10:43:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-02 10:43:39 -0700 |
commit | 1fa4572d1a32e9fbf102d7388efe5e44bef460f1 (patch) | |
tree | 6c345ece354d8ff9cf45fa3051181ff09fbbbf45 /include/gpu/effects/GrPorterDuffXferProcessor.h | |
parent | d58d74ab582135be592f47e4ecc597b26607ed8a (diff) |
Update XPF invariant info to not account for conflation
Renames getInvariantOutput to getInvariantBlendedColor on GrXPFactory
and redefines it to not account for coverage conflation. This is the
information that all the callsites actually wanted to know.
BUG=skia:
Review URL: https://codereview.chromium.org/1161273005
Diffstat (limited to 'include/gpu/effects/GrPorterDuffXferProcessor.h')
-rw-r--r-- | include/gpu/effects/GrPorterDuffXferProcessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/effects/GrPorterDuffXferProcessor.h b/include/gpu/effects/GrPorterDuffXferProcessor.h index e4f72203f6..ca7de94154 100644 --- a/include/gpu/effects/GrPorterDuffXferProcessor.h +++ b/include/gpu/effects/GrPorterDuffXferProcessor.h @@ -20,8 +20,8 @@ public: bool supportsRGBCoverage(GrColor knownColor, uint32_t knownColorFlags) const override; - void getInvariantOutput(const GrProcOptInfo& colorPOI, const GrProcOptInfo& coveragePOI, - GrXPFactory::InvariantOutput*) const override; + void getInvariantBlendedColor(const GrProcOptInfo& colorPOI, + GrXPFactory::InvariantBlendedColor*) const override; private: GrPorterDuffXPFactory(SkXfermode::Mode); |