Home
last modified time | relevance | path

Searched refs:getPurgeableBytes (Results 1 – 7 of 7) sorted by relevance

/external/skqp/tests/
DResourceCacheTest.cpp535 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
548 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
559 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
564 REPORTER_ASSERT(reporter, 11 == cache->getPurgeableBytes()); in test_budgeting()
587 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
590 REPORTER_ASSERT(reporter, 10 == cache->getPurgeableBytes()); in test_budgeting()
598 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
607 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
614 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
640 REPORTER_ASSERT(reporter, 10 == cache->getPurgeableBytes()); in test_unbudgeted()
[all …]
/external/skia/tests/
DResourceCacheTest.cpp578 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
591 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
602 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
607 REPORTER_ASSERT(reporter, 11 == cache->getPurgeableBytes()); in test_budgeting()
630 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
633 REPORTER_ASSERT(reporter, 10 == cache->getPurgeableBytes()); in test_budgeting()
641 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
650 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
657 REPORTER_ASSERT(reporter, 0 == cache->getPurgeableBytes()); in test_budgeting()
682 REPORTER_ASSERT(reporter, 10 == cache->getPurgeableBytes()); in test_unbudgeted()
[all …]
DResourceAllocatorTest.cpp378 REPORTER_ASSERT(reporter, expectedPurgeableBytes == cache->getPurgeableBytes(), in memory_budget_test()
379 "%zu", cache->getPurgeableBytes()); in memory_budget_test()
392 auto unpurgeableBytes = cache->getBudgetedResourceBytes() - cache->getPurgeableBytes(); in memory_budget_test()
/external/skqp/src/gpu/
DGrResourceCache.h96 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes() function
DGrContext.cpp268 return fResourceCache->getPurgeableBytes(); in getResourceCachePurgeableBytes()
/external/skia/src/gpu/
DGrResourceCache.h99 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes() function
DGrDirectContext.cpp275 return fResourceCache->getPurgeableBytes(); in getResourceCachePurgeableBytes()