Home
last modified time | relevance | path

Searched refs:GrResourceEntry (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.h121 class GrResourceEntry {
127 GrResourceEntry* next() const { return fNext; } in next()
128 GrResourceEntry* prev() const { return fPrev; } in prev()
138 GrResourceEntry(const GrResourceKey& key, GrResource* resource);
139 ~GrResourceEntry();
156 GrResourceEntry* fPrev;
157 GrResourceEntry* fNext;
228 GrResourceEntry* findAndLock(const GrResourceKey&, LockType style);
237 GrResourceEntry* createAndLock(const GrResourceKey&, GrResource*);
251 void detach(GrResourceEntry*);
[all …]
DGrResourceCache.cpp14 GrResourceEntry::GrResourceEntry(const GrResourceKey& key, GrResource* resource) in GrResourceEntry() function in GrResourceEntry
23 GrResourceEntry::~GrResourceEntry() { in ~GrResourceEntry()
28 void GrResourceEntry::validate() const { in validate()
76 void GrResourceCache::internalDetach(GrResourceEntry* entry, in internalDetach()
78 GrResourceEntry* prev = entry->fPrev; in internalDetach()
79 GrResourceEntry* next = entry->fNext; in internalDetach()
105 void GrResourceCache::attachToHead(GrResourceEntry* entry, in attachToHead()
131 typedef GrResourceEntry T;
158 GrResourceEntry* GrResourceCache::findAndLock(const GrResourceKey& key, in findAndLock()
162 GrResourceEntry* entry = fCache.find(key); in findAndLock()
[all …]
DGrStencilBuffer.h17 class GrResourceEntry; variable
100 GrResourceEntry* fCacheEntry;
DGrContext.cpp245 GrResourceEntry* GrContext::addAndLockStencilBuffer(GrStencilBuffer* sb) { in addAndLockStencilBuffer()
258 GrResourceEntry* entry = fTextureCache->findAndLock(resourceKey, in findStencilBuffer()
268 void GrContext::unlockStencilBuffer(GrResourceEntry* sbEntry) { in unlockStencilBuffer()
441 GrResourceEntry* entry; in lockScratchTexture()
/external/skia/include/gpu/
DGrContext.h28 class GrResourceEntry; variable
101 explicit TextureCacheEntry(GrResourceEntry* entry) { fEntry = entry; } in TextureCacheEntry()
102 void set(GrResourceEntry* entry) { fEntry = entry; } in set()
103 GrResourceEntry* cacheEntry() { return fEntry; } in cacheEntry()
104 GrResourceEntry* fEntry;
650 GrResourceEntry* addAndLockStencilBuffer(GrStencilBuffer* sb);
651 void unlockStencilBuffer(GrResourceEntry* sbEntry);