Searched refs:getResourceBytes (Results 1 – 8 of 8) 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()
1213 size_t currentBytes = cache->getResourceBytes(); in test_10()
357 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 …]
83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
91 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function
94 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function