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

Unified Diff: include/core/SkMaskFilter.h

Issue 1421493003: tunnel down texture-size-constraint to imagefilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/SkMaskFilter.h
diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h
index 1fe1d9adafc29a731ff12db139a28cb03749afe0..b217643b9e790b888efe38a89d39cea53758eec8 100644
--- a/include/core/SkMaskFilter.h
+++ b/include/core/SkMaskFilter.h
@@ -15,6 +15,10 @@
#include "SkMask.h"
#include "SkPaint.h"
+#if SK_SUPPORT_GPU
+#include "GrTextureProvider.h"
+#endif
+
class GrClip;
class GrDrawContext;
class GrPaint;
@@ -142,7 +146,8 @@ public:
const SkMatrix& ctm,
const SkRect& maskRect,
GrTexture** result,
- bool canOverwriteSrc) const;
+ bool canOverwriteSrc,
robertphillips 2015/10/22 14:43:36 Can this be the ImageFilter enum ?
reed1 2015/10/22 16:24:55 Removed.
+ GrTextureProvider::SizeConstraint) const;
#endif
/**

Powered by Google App Engine
This is Rietveld 408576698