Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp368 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
397 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
409 cache->getResourceBytes()); in test_no_key()
415 cache->getResourceBytes()); in test_no_key()
420 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
425 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
471 cache->getResourceBytes()); in test_budgeting()
482 cache->getResourceBytes()); in test_budgeting()
492 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
503 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.h93 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function