Flutter Engine
The Flutter Engine
|
#include <SkMaskCache.h>
Static Public Member Functions | |
static SkCachedData * | FindAndRef (SkScalar sigma, SkBlurStyle style, const SkRRect &rrect, SkTLazy< SkMask > *mask, SkResourceCache *localCache=nullptr) |
static SkCachedData * | FindAndRef (SkScalar sigma, SkBlurStyle style, const SkRect rects[], int count, SkTLazy< SkMask > *mask, SkResourceCache *localCache=nullptr) |
static void | Add (SkScalar sigma, SkBlurStyle style, const SkRRect &rrect, const SkMask &mask, SkCachedData *data, SkResourceCache *localCache=nullptr) |
static void | Add (SkScalar sigma, SkBlurStyle style, const SkRect rects[], int count, const SkMask &mask, SkCachedData *data, SkResourceCache *localCache=nullptr) |
Definition at line 21 of file SkMaskCache.h.
|
static |
Definition at line 192 of file SkMaskCache.cpp.
|
static |
Add a mask and its pixel-data to the cache.
Definition at line 102 of file SkMaskCache.cpp.
|
static |
Definition at line 178 of file SkMaskCache.cpp.
|
static |
On success, return a ref to the SkCachedData that holds the pixels, and have mask already point to that memory.
On failure, return nullptr.
Definition at line 88 of file SkMaskCache.cpp.