• Home
  • Raw
  • Download

Lines Matching refs:getResourceBytes

368         SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());  in Mock()
397 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
409 cache->getResourceBytes()); in test_no_key()
415 cache->getResourceBytes()); in test_no_key()
420 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
425 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_no_key()
471 cache->getResourceBytes()); in test_budgeting()
482 cache->getResourceBytes()); in test_budgeting()
492 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
503 unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
513 cache->getResourceBytes()); in test_budgeting()
520 REPORTER_ASSERT(reporter, unbudgeted->gpuMemorySize() == cache->getResourceBytes()); in test_budgeting()
527 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_budgeting()
553 REPORTER_ASSERT(reporter, 10 == cache->getResourceBytes()); in test_unbudgeted()
563 REPORTER_ASSERT(reporter, 21 == cache->getResourceBytes()); in test_unbudgeted()
568 size_t large = 2 * cache->getResourceBytes(); in test_unbudgeted()
571 REPORTER_ASSERT(reporter, 21 + large == cache->getResourceBytes()); in test_unbudgeted()
578 REPORTER_ASSERT(reporter, 21 == cache->getResourceBytes()); in test_unbudgeted()
585 REPORTER_ASSERT(reporter, 21 + large == cache->getResourceBytes()); in test_unbudgeted()
592 REPORTER_ASSERT(reporter, 21 == cache->getResourceBytes()); in test_unbudgeted()
599 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_unbudgeted()
626 REPORTER_ASSERT(reporter, size == cache->getResourceBytes()); in test_unbudgeted_to_scratch()
634 REPORTER_ASSERT(reporter, size == cache->getResourceBytes()); in test_unbudgeted_to_scratch()
652 REPORTER_ASSERT(reporter, size == cache->getResourceBytes()); in test_unbudgeted_to_scratch()
663 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_unbudgeted_to_scratch()
698 cache->getResourceBytes()); in test_duplicate_scratch_key()
858 REPORTER_ASSERT(reporter, a->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
870 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
876 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
888 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
893 REPORTER_ASSERT(reporter, c->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
899 REPORTER_ASSERT(reporter, c->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
905 REPORTER_ASSERT(reporter, c->gpuMemorySize() == cache->getResourceBytes()); in test_duplicate_unique_key()
913 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_duplicate_unique_key()
994 REPORTER_ASSERT(reporter, 0 == cache->getResourceBytes()); in test_purge_invalidated()
1054 REPORTER_ASSERT(reporter, 200 == cache->getResourceBytes()); in test_resource_size_changed()
1065 REPORTER_ASSERT(reporter, 250 == cache->getResourceBytes()); in test_resource_size_changed()
1085 REPORTER_ASSERT(reporter, 200 == cache->getResourceBytes()); in test_resource_size_changed()
1095 REPORTER_ASSERT(reporter, 201 == cache->getResourceBytes()); in test_resource_size_changed()
1504 REPORTER_ASSERT(reporter, cache->getResourceBytes() == 2 * kResourceCnt); in test_large_resource_count()
1520 REPORTER_ASSERT(reporter, cache->getResourceBytes() == 0); in test_large_resource_count()