Go to the source code of this file.
|
#define | CHECK_LOCAL(localCache, localName, globalName, ...) ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__)) |
|
◆ CHECK_LOCAL
#define CHECK_LOCAL |
( |
|
localCache, |
|
|
|
localName, |
|
|
|
globalName, |
|
|
|
... |
|
) |
| ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__)) |
◆ get_fact()
Definition at line 293 of file SkBitmapCache.cpp.
293 {
296}
DiscardableFactory discardableFactory() const
static DiscardableFactory GetDiscardableFactory()
◆ SkBitmapCache_setImmutableWithID()
void SkBitmapCache_setImmutableWithID |
( |
SkPixelRef * |
pr, |
|
|
uint32_t |
id |
|
) |
| |
◆ SkMakeResourceCacheSharedIDForBitmap()
uint64_t SkMakeResourceCacheSharedIDForBitmap |
( |
uint32_t |
bitmapGenID | ) |
|
Use this for bitmapcache and mipmapcache entries.
Definition at line 32 of file SkBitmapCache.cpp.
32 {
34 return (sharedID << 32) | bitmapGenID;
35}
static constexpr SkFourByteTag SkSetFourByteTag(char a, char b, char c, char d)
◆ SkNotifyBitmapGenIDIsStale()
void SkNotifyBitmapGenIDIsStale |
( |
uint32_t |
bitmapGenID | ) |
|
Definition at line 37 of file SkBitmapCache.cpp.
37 {
39}
uint64_t SkMakeResourceCacheSharedIDForBitmap(uint32_t bitmapGenID)
static void PostPurgeSharedID(uint64_t sharedID)