Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: include/effects/SkDisplacementMapEffect.h

Issue 936943002: Pass clip to context (Closed) Base URL: https://skia.googlesource.com/skia.git@pass_down_rendertarget
Patch Set: more cleanup Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/effects/SkDisplacementMapEffect.h
diff --git a/include/effects/SkDisplacementMapEffect.h b/include/effects/SkDisplacementMapEffect.h
index e55b324ce9da755c88ca95e590b8667f801adf19..76523c109c45127998b559ec397c84c4197c966e 100644
--- a/include/effects/SkDisplacementMapEffect.h
+++ b/include/effects/SkDisplacementMapEffect.h
@@ -44,8 +44,12 @@ public:
#if SK_SUPPORT_GPU
bool canFilterImageGPU() const SK_OVERRIDE { return true; }
- virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx,
- SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
+ virtual bool filterImageGPU(Proxy* proxy,
+ const SkBitmap& src,
+ const Context& ctx,
+ const GrClip&,
+ SkBitmap* result,
+ SkIPoint* offset) const SK_OVERRIDE;
#endif
SK_TO_STRING_OVERRIDE()

Powered by Google App Engine
This is Rietveld 408576698