Home
last modified time | relevance | path

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

/external/skqp/tests/
DTextureProxyTest.cpp132 int startCacheCount = cache->getResourceCount(); in basic_test()
147 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount()); in basic_test()
182 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
188 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
196 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
202 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
212 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test()
224 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
236 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test()
241 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in invalidation_test()
[all …]
DResourceCacheTest.cpp357 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
385 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
397 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
403 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key()
409 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key()
414 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key()
455 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
470 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
478 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked()
486 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked()
[all …]
/external/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.cpp49 const int initialCount = cache->getResourceCount(); in test_wrapping()
60 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
92 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
115 initialCount + cacheEntriesPerProxy == cache->getResourceCount()); in test_wrapping()
119 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
/external/skqp/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()
/external/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()
/external/skqp/src/gpu/
DGrResourceCache.cpp125 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource()
202 SkASSERT(!this->getResourceCount()); in abandonAll()
242 SkASSERT(!this->getResourceCount()); in releaseAll()
452 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyCntReachedZero()
455 SkASSERT(this->getResourceCount() < beforeCount); in notifyCntReachedZero()
653 int count = this->getResourceCount(); in getNextTimestamp()
702 SkASSERT(count == this->getResourceCount()); in getNextTimestamp()
819 SkASSERT(fCount == this->getResourceCount()); in validate()
DGrTexture.cpp61 int preCount = cache->getResourceCount(); in StealBackendTexture()
73 int postCount = cache->getResourceCount(); in StealBackendTexture()
DGrResourceCache.h79 int getResourceCount() const { in getResourceCount() function
/external/skia/src/gpu/
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()
773 int count = this->getResourceCount(); in getNextTimestamp()
822 SkASSERT(count == this->getResourceCount()); in getNextTimestamp()
844 stats->fTotal = this->getResourceCount(); in getStats()
985 SkASSERT(fCount == this->getResourceCount()); in validate()
DGrTexture.cpp70 int preCount = cache->getResourceCount(); in StealBackendTexture()
82 int postCount = cache->getResourceCount(); in StealBackendTexture()
DGrResourceCache.h82 int getResourceCount() const { in getResourceCount() function
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h692 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function
701 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineScheduler.h722 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function
731 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
/external/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()
/external/skqp/tools/gpu/
DGrTest.cpp142 stats->fTotal = this->getResourceCount(); in getStats()
/external/llvm/lib/CodeGen/
DMachineScheduler.cpp1928 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2048 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource()
2052 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() << "c\n"); in countResource()
2120 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode()
2278 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()
/external/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()
/external/llvm-project/llvm/lib/CodeGen/
DMachineScheduler.cpp2207 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2321 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource()
2325 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() in countResource()
2398 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode()
2562 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()