diff options
author | egdaniel <egdaniel@google.com> | 2015-02-13 09:00:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 09:00:33 -0800 |
commit | e36914cb205699526988127a827d1a76c9a98d39 (patch) | |
tree | 3676983831392cede5b42a471d905bed491d3dfd /src/gpu/effects/GrCustomXfermodePriv.h | |
parent | f89f60f6972569a41fa737c786d238559027fede (diff) |
Pass in ProcOptInfos into willNeedDstCopy on XPs
BUG=skia:
Review URL: https://codereview.chromium.org/912413002
Diffstat (limited to 'src/gpu/effects/GrCustomXfermodePriv.h')
-rw-r--r-- | src/gpu/effects/GrCustomXfermodePriv.h | 5 |
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>(); |