| Index: src/core/SkBitmapCache.h
|
| diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h
|
| index ebade0ebd9b67fa277d6e9b2407cd2e691f20676..6b9f0881f1c741dcc2383c995877648c0f6eb1ae 100644
|
| --- a/src/core/SkBitmapCache.h
|
| +++ b/src/core/SkBitmapCache.h
|
| @@ -8,6 +8,8 @@
|
| #ifndef SkBitmapCache_DEFINED
|
| #define SkBitmapCache_DEFINED
|
|
|
| +#include "SkRect.h"
|
| +#include "SkRRect.h"
|
| #include "SkScaledImageCache.h"
|
|
|
| class SkBitmapCache {
|
| @@ -28,6 +30,16 @@ public:
|
| static ID* FindAndLock(uint32_t genID, int width, int height, SkBitmap* result);
|
|
|
| static ID* AddAndLock(uint32_t genID, int width, int height, const SkBitmap& result);
|
| +
|
| + /* Input: blur_sigma+rrect */
|
| + static ID* FindAndLock(SkScalar sigma, const SkRRect rrect, SkBitmap* result);
|
| + static ID* AddAndLock(SkScalar sigma, const SkRRect rrect, const SkBitmap& bitmap);
|
| +
|
| + /* Input: blur_sigma+rects_count+rects */
|
| + static ID* FindAndLock(SkScalar sigma, unsigned count, const SkRect rects[],
|
| + SkBitmap* result);
|
| + static ID* AddAndLock(SkScalar sigma, unsigned count, const SkRect rects[],
|
| + const SkBitmap& bitmap);
|
| };
|
|
|
| class SkMipMapCache {
|
|
|