Home
last modified time | relevance | path

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

/third_party/skia/tests/
H A 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...]
H A 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()
H A DGrThreadSafeCacheTest.cpp1221 size_t currentBytes = cache->getResourceBytes(); in test_10()
/third_party/skia/bench/
H A DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());
/third_party/skia/src/gpu/
H A DGrResourceCache.h116 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function in GrResourceCache

Completed in 7 milliseconds