Home
last modified time | relevance | path

Searched refs:getResourceBytes (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp374 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
403 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
415 cache->getResourceBytes()); in test_no_key()
421 cache->getResourceBytes()); in test_no_key()
426 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
431 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
473 cache->getResourceBytes()); in test_budgeting()
483 cache->getResourceBytes()); in test_budgeting()
492 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
501 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
[all …]
/external/skia/bench/
DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
/external/skia/src/gpu/
DGrResourceCache.h88 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function