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

Unified Diff: include/effects/SkMorphologyImageFilter.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/SkMorphologyImageFilter.h
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h
index 901955bee61fdb548941aefcc31afdcb05068261..a05e663bc47ac369a85f20a8512cd23b300c5261 100644
--- a/include/effects/SkMorphologyImageFilter.h
+++ b/include/effects/SkMorphologyImageFilter.h
@@ -37,8 +37,12 @@ protected:
void flatten(SkWriteBuffer&) const SK_OVERRIDE;
#if SK_SUPPORT_GPU
bool canFilterImageGPU() const SK_OVERRIDE { return true; }
- bool filterImageGPUGeneric(bool dilate, Proxy* proxy, const SkBitmap& src,
- const Context& ctm, SkBitmap* result,
+ bool filterImageGPUGeneric(bool dilate,
+ Proxy* proxy,
+ const SkBitmap& src,
+ const Context& ctm,
+ const GrClip&,
+ SkBitmap* result,
SkIPoint* offset) const;
#endif
@@ -65,7 +69,8 @@ public:
SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
#if SK_SUPPORT_GPU
virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context&,
- SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
+ const GrClip&, SkBitmap* result,
+ SkIPoint* offset) const SK_OVERRIDE;
#endif
SK_TO_STRING_OVERRIDE()
@@ -94,7 +99,8 @@ public:
SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
#if SK_SUPPORT_GPU
virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context&,
- SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
+ const GrClip&, SkBitmap* result,
+ SkIPoint* offset) const SK_OVERRIDE;
#endif
SK_TO_STRING_OVERRIDE()

Powered by Google App Engine
This is Rietveld 408576698