Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp276 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
305 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
317 cache->getResourceBytes()); in test_no_key()
323 cache->getResourceBytes()); in test_no_key()
328 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
333 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
375 cache->getResourceBytes()); in test_budgeting()
385 cache->getResourceBytes()); in test_budgeting()
394 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
403 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
[all …]
/external/skia/bench/
DGrResourceCacheBench.cpp77 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
114 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onPreDraw()
/external/skia/src/gpu/
DGrResourceCache.h90 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function