Searched refs:getResourceBytes (Results 1 – 3 of 3) sorted by relevance
276 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()305 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()317 cache->getResourceBytes()); in test_no_key()323 cache->getResourceBytes()); in test_no_key()328 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()333 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()375 cache->getResourceBytes()); in test_budgeting()385 cache->getResourceBytes()); in test_budgeting()394 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()403 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()[all …]
77 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()114 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onPreDraw()
90 size_t getResourceBytes() const { return fBytes; } in getResourceBytes() function