Searched refs:resourceCache (Results 1 – 11 of 11) sorted by relevance
131 GrResourceCache* resourceCache = ctxInfo.grContext()->getResourceCache();146 resourceCache->getStats(&stats);175 resourceCache->getStats(&stats);214 resourceCache->getStats(&stats);225 resourceCache->getStats(&stats);281 resourceCache->getStats(&stats);302 resourceCache->getStats(&stats);308 resourceCache->purgeAllUnlocked();311 resourceCache->getStats(&stats);335 resourceCache->getStats(&stats);[all …]
147 private ResourceCache resourceCache; field in ICUResourceBundleReader328 resourceCache = new ResourceCache(maxOffset); in init()512 Object value = resourceCache.get(res); in getStringV2()545 return (String)resourceCache.putIfAbsent(res, s, s.length() * 2); in getStringV2()578 Object value = resourceCache.get(res); in getString()585 return (String)resourceCache.putIfAbsent(res, s, s.length() * 2); in getString()632 Object value = resourceCache.get(res); in getAlias()639 return (String)resourceCache.putIfAbsent(res, s, length * 2); in getAlias()740 Object value = resourceCache.get(res); in getArray()746 return (Array)resourceCache.putIfAbsent(res, array, 0); in getArray()[all …]
145 private ResourceCache resourceCache; field in ICUResourceBundleReader326 resourceCache = new ResourceCache(maxOffset); in init()510 Object value = resourceCache.get(res); in getStringV2()543 return (String)resourceCache.putIfAbsent(res, s, s.length() * 2); in getStringV2()576 Object value = resourceCache.get(res); in getString()583 return (String)resourceCache.putIfAbsent(res, s, s.length() * 2); in getString()630 Object value = resourceCache.get(res); in getAlias()637 return (String)resourceCache.putIfAbsent(res, s, length * 2); in getAlias()738 Object value = resourceCache.get(res); in getArray()744 return (Array)resourceCache.putIfAbsent(res, array, 0); in getArray()[all …]
131 auto resourceCache = dContext->priv().getResourceCache(); in flush() local228 resourceCache->purgeAsNeeded(); in flush()237 resourceCache->purgeAsNeeded(); in flush()945 auto resourceCache = direct->priv().getResourceCache(); in flushIfNecessary() local946 if (resourceCache && resourceCache->requestsFlush()) { in flushIfNecessary()950 resourceCache->purgeAsNeeded(); in flushIfNecessary()
55 void GrThreadSafeCache::dropUniqueRefs(GrResourceCache* resourceCache) { in dropUniqueRefs() argument63 if (resourceCache && !resourceCache->overBudget()) { in dropUniqueRefs()
64 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in assignUniqueKeyToProxy() local68 SkASSERT(!resourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy()221 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in findOrCreateProxyByUniqueKey() local223 GrGpuResource* resource = resourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
81 void dropUniqueRefs(GrResourceCache* resourceCache) SK_EXCLUDES(fSpinLock);
694 GrResourceCache* resourceCache = fContext->contextPriv().getResourceCache(); in flushIfNecessary() local695 if (resourceCache && resourceCache->requestsFlush()) { in flushIfNecessary()697 resourceCache->purgeAsNeeded(); in flushIfNecessary()
34 GrResourceCache* resourceCache, in GrProxyProvider() argument38 , fResourceCache(resourceCache) in GrProxyProvider()41 , fContextUniqueID(resourceCache->contextUniqueID()) in GrProxyProvider()
1772 auto resourceCache = dContext->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local1776 resourceCache->releaseAll(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1777 REPORTER_ASSERT(reporter, resourceCache->getBudgetedResourceBytes() == 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1790 REPORTER_ASSERT(reporter, expectedPurgeable == resourceCache->getPurgeableBytes(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1791 "%zu vs %zu", expectedPurgeable, resourceCache->getPurgeableBytes()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1792 REPORTER_ASSERT(reporter, success == resourceCache->purgeToMakeHeadroom(kTexSize)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1794 REPORTER_ASSERT(reporter, expectedBudgeted == resourceCache->getBudgetedResourceBytes(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()1795 "%zu vs %zu", expectedBudgeted, resourceCache->getBudgetedResourceBytes()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
META-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...