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

Unified Diff: include/effects/SkBlurDrawLooper.h

Issue 21835004: Blur refactoring (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: hide constant Created 7 years, 4 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/SkBlurDrawLooper.h
===================================================================
--- include/effects/SkBlurDrawLooper.h (revision 10522)
+++ include/effects/SkBlurDrawLooper.h (working copy)
@@ -35,6 +35,10 @@
kAll_BlurFlag = 0x07
};
+ SkBlurDrawLooper(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color,
bsalomon 2013/08/05 20:45:37 What's the plan for removing the unused bool? Coul
+ uint32_t flags /* = kNone_BlurFlag */, bool unused);
+
+ // DEPRECATED - radius-based
SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color,
uint32_t flags = kNone_BlurFlag);
virtual ~SkBlurDrawLooper();
@@ -64,6 +68,8 @@
};
State fState;
+ void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags);
+
typedef SkDrawLooper INHERITED;
};

Powered by Google App Engine
This is Rietveld 408576698