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

Unified Diff: include/core/SkImageFilter.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/core/SkImageFilter.h
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index a65a24c3ee45b5cbc098869ac6c5d4269ebb5633..5f05a8511b0f5c0f6b6104c727a6813bfb6ef83c 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -18,6 +18,7 @@ class SkColorFilter;
class SkBaseDevice;
class SkSurfaceProps;
struct SkIPoint;
+class GrClip;
class GrFragmentProcessor;
class GrTexture;
@@ -132,7 +133,7 @@ public:
* relative to the src when it is drawn. The default implementation does
* single-pass processing using asFragmentProcessor().
*/
- virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const Context&,
+ virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const Context&, const GrClip&,
Stephen White 2015/02/24 16:47:38 I'm not fond of this, because it moves the filterI
SkBitmap* result, SkIPoint* offset) const;
/**
« no previous file with comments | « gm/texdata.cpp ('k') | include/core/SkMaskFilter.h » ('j') | include/gpu/GrClip.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698