Home
last modified time | relevance | path

Searched refs:TextureAwaitingUnref (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.h311 class TextureAwaitingUnref {
313 TextureAwaitingUnref();
314 TextureAwaitingUnref(GrTexture* texture);
315 TextureAwaitingUnref(const TextureAwaitingUnref&) = delete;
316 TextureAwaitingUnref& operator=(const TextureAwaitingUnref&) = delete;
317 TextureAwaitingUnref(TextureAwaitingUnref&&);
318 TextureAwaitingUnref& operator=(TextureAwaitingUnref&&);
319 ~TextureAwaitingUnref();
328 using TexturesAwaitingUnref = SkTHashMap<uint32_t, TextureAwaitingUnref>;
DGrResourceCache.cpp75 inline GrResourceCache::TextureAwaitingUnref::TextureAwaitingUnref() = default;
77 inline GrResourceCache::TextureAwaitingUnref::TextureAwaitingUnref(GrTexture* texture) in TextureAwaitingUnref() function in GrResourceCache::TextureAwaitingUnref
80 inline GrResourceCache::TextureAwaitingUnref::TextureAwaitingUnref(TextureAwaitingUnref&& that) { in TextureAwaitingUnref() function in GrResourceCache::TextureAwaitingUnref
85 inline GrResourceCache::TextureAwaitingUnref& GrResourceCache::TextureAwaitingUnref::operator=( in operator =()
86 TextureAwaitingUnref&& that) { in operator =()
92 inline GrResourceCache::TextureAwaitingUnref::~TextureAwaitingUnref() { in ~TextureAwaitingUnref()
100 inline void GrResourceCache::TextureAwaitingUnref::TextureAwaitingUnref::addRef() { ++fNumUnrefs; } in addRef()
102 inline void GrResourceCache::TextureAwaitingUnref::unref() { in unref()
108 inline bool GrResourceCache::TextureAwaitingUnref::finished() { return !fNumUnrefs; } in finished()
739 TextureAwaitingUnref* info = fTexturesAwaitingUnref.find(id); in processFreedGpuResources()