Home
last modified time | relevance | path

Searched refs:getResourceCount (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/tests/
DTextureProxyTest.cpp132 int startCacheCount = cache->getResourceCount(); in basic_test()
147 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount()); in basic_test()
181 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
187 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
195 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
201 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
211 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
225 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
237 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
252 REPORTER_ASSERT(reporter, cacheEntriesPerProxy + bufferResources == cache->getResourceCount()); in invalidation_test()
[all …]
DResourceCacheTest.cpp335 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
362 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
374 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
380 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key()
386 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key()
391 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key()
431 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
446 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
454 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked()
462 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked()
[all …]
DBackendAllocationTest.cpp50 const int initialCount = cache->getResourceCount(); in test_wrapping()
61 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
93 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
116 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
120 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
/third_party/flutter/skia/tests/
DTextureProxyTest.cpp136 int startCacheCount = cache->getResourceCount(); in basic_test()
151 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount()); in basic_test()
186 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
193 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
201 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
208 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
219 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
231 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
243 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
248 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in invalidation_test()
[all …]
DResourceCacheTest.cpp355 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
383 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
395 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
401 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key()
407 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key()
412 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key()
453 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
468 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
476 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked()
484 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked()
[all …]
DBackendAllocationTest.cpp29 const int initialCount = cache->getResourceCount(); in test_wrapping()
40 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
61 REPORTER_ASSERT(reporter, initialCount+1 == cache->getResourceCount()); in test_wrapping()
85 REPORTER_ASSERT(reporter, initialCount+1 == cache->getResourceCount()); in test_wrapping()
89 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
/third_party/flutter/skia/bench/
DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
89 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
141 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
/third_party/skia/bench/
DGrResourceCacheBench.cpp83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
89 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
141 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
/third_party/flutter/skia/src/gpu/
DGrResourceCache.cpp149 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource()
225 SkASSERT(!this->getResourceCount()); in abandonAll()
262 SkASSERT(!this->getResourceCount()); in releaseAll()
500 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyCntReachedZero()
503 SkASSERT(this->getResourceCount() < beforeCount); in notifyCntReachedZero()
719 int count = this->getResourceCount(); in getNextTimestamp()
768 SkASSERT(count == this->getResourceCount()); in getNextTimestamp()
790 stats->fTotal = this->getResourceCount(); in getStats()
942 SkASSERT(fCount == this->getResourceCount()); in validate()
DGrTexture.cpp63 int preCount = cache->getResourceCount(); in StealBackendTexture()
75 int postCount = cache->getResourceCount(); in StealBackendTexture()
DGrResourceCache.h80 int getResourceCount() const { in getResourceCount() function
/third_party/skia/src/gpu/
DGrTexture.cpp71 int preCount = cache->getResourceCount(); in StealBackendTexture()
83 int postCount = cache->getResourceCount(); in StealBackendTexture()
DGrResourceCache.cpp150 fHighWaterCount = std::max(this->getResourceCount(), fHighWaterCount); in insertResource()
222 SkASSERT(!this->getResourceCount()); in abandonAll()
263 SkASSERT(!this->getResourceCount()); in releaseAll()
471 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyARefCntReachedZero()
474 SkASSERT(this->getResourceCount() < beforeCount); in notifyARefCntReachedZero()
774 int count = this->getResourceCount(); in getNextTimestamp()
823 SkASSERT(count == this->getResourceCount()); in getNextTimestamp()
845 stats->fTotal = this->getResourceCount(); in getStats()
985 SkASSERT(fCount == this->getResourceCount()); in validate()
DGrResourceCache.h82 int getResourceCount() const { in getResourceCount() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineScheduler.h719 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function
728 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineScheduler.cpp2071 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2185 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource()
2189 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() in countResource()
2262 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode()
2428 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()