Home
last modified time | relevance | path

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

/external/skqp/tests/
DResourceCacheTest.cpp534 cache->getBudgetedResourceBytes()); in test_budgeting()
547 cache->getBudgetedResourceBytes()); in test_budgeting()
586 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() == cache->getBudgetedResourceBytes()); in test_budgeting()
597 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
606 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
613 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
639 REPORTER_ASSERT(reporter, 10 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
648 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
656 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
663 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
[all …]
/external/skia/tests/
DResourceCacheTest.cpp577 cache->getBudgetedResourceBytes()); in test_budgeting()
590 cache->getBudgetedResourceBytes()); in test_budgeting()
629 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() == cache->getBudgetedResourceBytes()); in test_budgeting()
640 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
649 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
656 REPORTER_ASSERT(reporter, 0 == cache->getBudgetedResourceBytes()); in test_budgeting()
681 REPORTER_ASSERT(reporter, 10 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
690 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
698 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
705 REPORTER_ASSERT(reporter, 21 == cache->getBudgetedResourceBytes()); in test_unbudgeted()
[all …]
DResourceAllocatorTest.cpp392 auto unpurgeableBytes = cache->getBudgetedResourceBytes() - cache->getPurgeableBytes(); in memory_budget_test()
/external/skqp/src/gpu/
DGrResourceCache.h101 size_t getBudgetedResourceBytes() const { return fBudgetedBytes; } in getBudgetedResourceBytes() function
DGrContext.cpp262 *resourceBytes = fResourceCache->getBudgetedResourceBytes(); in getResourceCacheUsage()
/external/skia/src/gpu/
DGrResourceCache.h104 size_t getBudgetedResourceBytes() const { return fBudgetedBytes; } in getBudgetedResourceBytes() function
DGrDirectContext.cpp269 *resourceBytes = fResourceCache->getBudgetedResourceBytes(); in getResourceCacheUsage()