Lines Matching refs:SkResourceCache
10 #include "SkResourceCache.h"
24 SkResourceCache::PostPurgeSharedID(SkMakeResourceCacheSharedIDForBitmap(bitmapGenID));
30 return SkResourceCache::GetAllocator();
85 struct BitmapKey : public SkResourceCache::Key {
118 struct BitmapRec : public SkResourceCache::Rec {
146 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextBitmap) {
162 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
165 SkResourceCache* localCache) {
174 SkResourceCache* localCache) {
186 SkResourceCache* localCache) {
193 SkResourceCache* localCache) {
211 bool SkBitmapCache::Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache) {
217 void SkBitmapCache::Add(uint32_t genID, const SkBitmap& result, SkResourceCache* localCache) {
231 struct MipMapKey : public SkResourceCache::Key {
242 struct MipMapRec : public SkResourceCache::Rec {
261 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextMip) {
282 SkResourceCache* localCache) {
293 static SkResourceCache::DiscardableFactory get_fact(SkResourceCache* localCache) {
295 : SkResourceCache::GetDiscardableFactory();
298 const SkMipMap* SkMipMapCache::AddAndRef(const SkBitmap& src, SkResourceCache* localCache) {