Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp61 fEntryBytes = 0; in GrResourceCache()
129 fEntryBytes -= entry->resource()->sizeInBytes(); in internalDetach()
145 fEntryBytes += entry->resource()->sizeInBytes(); in attachToHead()
151 if (fHighWaterEntryBytes < fEntryBytes) { in attachToHead()
152 fHighWaterEntryBytes = fEntryBytes; in attachToHead()
219 entry, fEntryCount, resource->sizeInBytes(), fEntryBytes); in addResource()
251 fEntryBytes -= size; in removeInvalidResource()
304 if (fEntryCount <= fMaxCount && fEntryBytes <= fMaxBytes) { in purgeAsNeeded()
356 GrAssert(fEntryBytes == fClientDetachedBytes); in purgeAllUnlocked()
389 GrAssert(both_zero_or_nonzero(fEntryCount, fEntryBytes)); in validate()
[all …]
DGrResourceCache.h239 size_t getCachedResourceBytes() const { return fEntryBytes; } in getCachedResourceBytes()
354 size_t fEntryBytes; variable