aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrCustomXfermodePriv.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-02-13 09:00:33 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-13 09:00:33 -0800
commite36914cb205699526988127a827d1a76c9a98d39 (patch)
tree3676983831392cede5b42a471d905bed491d3dfd /src/gpu/effects/GrCustomXfermodePriv.h
parentf89f60f6972569a41fa737c786d238559027fede (diff)
Pass in ProcOptInfos into willNeedDstCopy on XPs
Diffstat (limited to 'src/gpu/effects/GrCustomXfermodePriv.h')
-rw-r--r--src/gpu/effects/GrCustomXfermodePriv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/effects/GrCustomXfermodePriv.h b/src/gpu/effects/GrCustomXfermodePriv.h
index 2a2f69f69e..959b079603 100644
--- a/src/gpu/effects/GrCustomXfermodePriv.h
+++ b/src/gpu/effects/GrCustomXfermodePriv.h
@@ -81,7 +81,10 @@ private:
const GrProcOptInfo& coveragePOI,
const GrDeviceCoordTexture* dstCopy) const SK_OVERRIDE;
- bool willReadDstColor() const SK_OVERRIDE { return true; }
+ bool willReadDstColor(const GrProcOptInfo& colorPOI,
+ const GrProcOptInfo& coveragePOI) const SK_OVERRIDE {
+ return true;
+ }
bool onIsEqual(const GrXPFactory& xpfBase) const SK_OVERRIDE {
const GrCustomXPFactory& xpf = xpfBase.cast<GrCustomXPFactory>();