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

Unified Diff: src/core/SkMaskCache.h

Issue 669993003: use SkMaskCache inside SkBlurMaskFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/core/SkMaskCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMaskCache.h
diff --git a/src/core/SkMaskCache.h b/src/core/SkMaskCache.h
index f44ed3874cbdeb226ebef1895e7b39fee59ee0c3..f98387b2067dd03745ba2eb9ffaf5cc49d56ff5c 100644
--- a/src/core/SkMaskCache.h
+++ b/src/core/SkMaskCache.h
@@ -23,20 +23,22 @@ public:
*
* On failure, return NULL.
*/
- static SkCachedData* FindAndRef(SkScalar sigma, const SkRRect& rrect, SkBlurStyle style,
- SkBlurQuality quality, SkMask* mask,
+ static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
+ const SkRRect& rrect, SkMask* mask,
SkResourceCache* localCache = NULL);
- static SkCachedData* FindAndRef(SkScalar sigma, const SkRect rects[], int count,
- SkBlurStyle style,SkMask* mask,
+ static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
+ const SkRect rects[], int count, SkMask* mask,
SkResourceCache* localCache = NULL);
/**
* Add a mask and its pixel-data to the cache.
*/
- static void Add(SkScalar sigma, const SkRRect& rrect, SkBlurStyle style, SkBlurQuality quality,
- const SkMask& mask, SkCachedData* data, SkResourceCache* localCache = NULL);
- static void Add(SkScalar sigma, const SkRect rects[], int count, SkBlurStyle style,
- const SkMask& mask, SkCachedData* data, SkResourceCache* localCache = NULL);
+ static void Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
+ const SkRRect& rrect, const SkMask& mask, SkCachedData* data,
+ SkResourceCache* localCache = NULL);
+ static void Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
+ const SkRect rects[], int count, const SkMask& mask, SkCachedData* data,
+ SkResourceCache* localCache = NULL);
};
#endif
« no previous file with comments | « no previous file | src/core/SkMaskCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698