Searched refs:getResourceBytes (Results 1 – 5 of 5) sorted by relevance
335 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 …]
80 size_t beforeBytes = cache->getResourceBytes(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()111 size_t afterBytes = cache->getResourceBytes(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1221 size_t currentBytes = cache->getResourceBytes(); in test_10()
83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
112 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function