Home
last modified time | relevance | path

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

/third_party/skia/tests/
DResourceCacheTest.cpp335 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
364 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
376 cache->getResourceBytes()); in test_no_key()
382 cache->getResourceBytes()); in test_no_key()
387 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
392 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
433 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
448 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
456 cache->getResourceBytes()); in test_purge_unlocked()
463 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_purge_unlocked()
[all …]
DRepeatedClippedBlurTest.cpp80 size_t beforeBytes = cache->getResourceBytes(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 size_t afterBytes = cache->getResourceBytes(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrThreadSafeCacheTest.cpp1221 size_t currentBytes = cache->getResourceBytes(); in test_10()
/third_party/skia/bench/
DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
/third_party/skia/src/gpu/
DGrResourceCache.h112 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function