Home
last modified time | relevance | path

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

/external/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.cpp1213 size_t currentBytes = cache->getResourceBytes(); in test_10()
/external/skqp/tests/
DResourceCacheTest.cpp357 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
387 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
399 cache->getResourceBytes()); in test_no_key()
405 cache->getResourceBytes()); in test_no_key()
410 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
415 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
457 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
472 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
480 cache->getResourceBytes()); in test_purge_unlocked()
487 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_purge_unlocked()
[all …]
/external/skqp/bench/
DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
/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/skqp/src/gpu/
DGrResourceCache.h91 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function
/external/skia/src/gpu/
DGrResourceCache.h94 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function