Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp342 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
371 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
383 cache->getResourceBytes()); in test_no_key()
389 cache->getResourceBytes()); in test_no_key()
394 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
399 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
440 cache->getResourceBytes()); in test_budgeting()
450 cache->getResourceBytes()); in test_budgeting()
459 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
468 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
[all …]
/external/skia/bench/
DGrResourceCacheBench.cpp84 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
130 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
/external/skia/src/gpu/
DGrResourceCache.h92 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function