diff options
author | 2015-02-23 12:12:54 -0800 | |
---|---|---|
committer | 2015-02-23 12:12:54 -0800 | |
commit | 0bdeec9640640922eb6b0a9f798bcd85eb898f29 (patch) | |
tree | ff1418ee571a44ed2d9b82050539580145f9c4dd /src/gpu/effects | |
parent | b8de1f46594c3cd9c537f0b128c6d6eb30a9f463 (diff) |
Remove canApplyCoverage from XP and all related functions in gpu code.
BUG=skia:
Review URL: https://codereview.chromium.org/919683002
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrCustomXfermodePriv.h | 5 | ||||
-rw-r--r-- | src/gpu/effects/GrDisableColorXP.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/effects/GrCustomXfermodePriv.h b/src/gpu/effects/GrCustomXfermodePriv.h index 8672529e45..85092a9892 100644 --- a/src/gpu/effects/GrCustomXfermodePriv.h +++ b/src/gpu/effects/GrCustomXfermodePriv.h @@ -64,11 +64,6 @@ public: return true; } - bool canApplyCoverage(const GrProcOptInfo& colorPOI, - const GrProcOptInfo& coveragePOI) const SK_OVERRIDE { - return true; - } - bool canTweakAlphaForCoverage() const SK_OVERRIDE { return false; } diff --git a/src/gpu/effects/GrDisableColorXP.h b/src/gpu/effects/GrDisableColorXP.h index 00675884a9..fb855ee520 100644 --- a/src/gpu/effects/GrDisableColorXP.h +++ b/src/gpu/effects/GrDisableColorXP.h @@ -23,11 +23,6 @@ public: return true; } - bool canApplyCoverage(const GrProcOptInfo& colorPOI, - const GrProcOptInfo& coveragePOI) const SK_OVERRIDE { - return true; - } - bool canTweakAlphaForCoverage() const SK_OVERRIDE { return true; } void getInvariantOutput(const GrProcOptInfo& colorPOI, const GrProcOptInfo& coveragePOI, |