Searched refs:GrResourceCache (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 50 GrResourceCache::GrResourceCache(int maxCount, size_t maxBytes) : in GrResourceCache() function in GrResourceCache 68 GrResourceCache::~GrResourceCache() { in ~GrResourceCache() 87 void GrResourceCache::getLimits(int* maxResources, size_t* maxResourceBytes) const{ in getLimits() 96 void GrResourceCache::setLimits(int maxResources, size_t maxResourceBytes) { in setLimits() 107 void GrResourceCache::internalDetach(GrResourceEntry* entry, in internalDetach() 133 void GrResourceCache::attachToHead(GrResourceEntry* entry, in attachToHead() 168 GrResource* GrResourceCache::find(const GrResourceKey& key, uint32_t ownershipFlags) { in find() 196 bool GrResourceCache::hasKey(const GrResourceKey& key) const { in hasKey() 200 void GrResourceCache::addResource(const GrResourceKey& key, in addResource() 228 void GrResourceCache::makeExclusive(GrResourceEntry* entry) { in makeExclusive() [all …]
|
D | GrResourceCache.h | 167 friend class GrResourceCache; variable 210 class GrResourceCache { 212 GrResourceCache(int maxCount, size_t maxBytes); 213 ~GrResourceCache(); 371 GrAutoResourceCacheValidate(GrResourceCache* cache) : fCache(cache) { in GrAutoResourceCacheValidate() 378 GrResourceCache* fCache; 383 GrAutoResourceCacheValidate(GrResourceCache*) {} in GrAutoResourceCacheValidate() argument
|
D | GrContext.cpp | 397 resource = fTextureCache->find(key, GrResourceCache::kHide_OwnershipFlag); in lockAndRefScratchTexture() 436 fTextureCache->addResource(key, texture, GrResourceCache::kHide_OwnershipFlag); in lockAndRefScratchTexture() 1757 fTextureCache = SkNEW_ARGS(GrResourceCache, in GrContext()
|
/external/skia/include/gpu/ |
D | GrContext.h | 36 class GrResourceCache; variable 861 GrResourceCache* fTextureCache;
|
/external/skia/gyp/ |
D | gpu.gypi | 99 '<(skia_src_path)/gpu/GrResourceCache.cpp', 100 '<(skia_src_path)/gpu/GrResourceCache.h',
|
/external/skia/ |
D | Android.mk | 374 src/gpu/GrResourceCache.cpp \
|