Home
last modified time | relevance | path

Searched refs:GrResourceCache (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp50 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 …]
DGrResourceCache.h167 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
DGrContext.cpp397 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/
DGrContext.h36 class GrResourceCache; variable
861 GrResourceCache* fTextureCache;
/external/skia/gyp/
Dgpu.gypi99 '<(skia_src_path)/gpu/GrResourceCache.cpp',
100 '<(skia_src_path)/gpu/GrResourceCache.h',
/external/skia/
DAndroid.mk374 src/gpu/GrResourceCache.cpp \