Home
last modified time | relevance | path

Searched refs:resourceCache (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
DLayer.cpp44 Caches::getInstance().resourceCache.incrementRefcount(this); in Layer()
50 if (colorFilter) Caches::getInstance().resourceCache.decrementRefcount(colorFilter); in ~Layer()
69 Caches::getInstance().resourceCache.decrementRefcount(colorFilter); in setColorFilter()
73 Caches::getInstance().resourceCache.incrementRefcount(colorFilter); in setColorFilter()
DDisplayListRenderer.cpp133 caches.resourceCache.lock(); in clearResources()
136 caches.resourceCache.decrementRefcountLocked(mBitmapResources.itemAt(i)); in clearResources()
141 caches.resourceCache.decrementRefcountLocked(bitmap); in clearResources()
142 caches.resourceCache.destructorLocked(bitmap); in clearResources()
146 caches.resourceCache.decrementRefcountLocked(mFilterResources.itemAt(i)); in clearResources()
150 caches.resourceCache.decrementRefcountLocked(mShaders.itemAt(i)); in clearResources()
151 caches.resourceCache.destructorLocked(mShaders.itemAt(i)); in clearResources()
155 caches.resourceCache.decrementRefcountLocked(mSourcePaths.itemAt(i)); in clearResources()
159 caches.resourceCache.decrementRefcountLocked(mLayers.itemAt(i)); in clearResources()
162 caches.resourceCache.unlock(); in clearResources()
[all …]
DDisplayListRenderer.h777 mCaches.resourceCache.incrementRefcount(path); in addPath()
821 mCaches.resourceCache.incrementRefcount(layer); in addLayer()
831 mCaches.resourceCache.incrementRefcount(bitmap); in addBitmap()
837 mCaches.resourceCache.incrementRefcount(bitmap); in addBitmapData()
853 mCaches.resourceCache.incrementRefcount(shaderCopy); in addShader()
862 mCaches.resourceCache.incrementRefcount(colorFilter); in addColorFilter()
DLayerRenderer.cpp241 Caches::getInstance().resourceCache.decrementRefcount(layer); in createLayer()
264 Caches::getInstance().resourceCache.decrementRefcount(layer); in resizeLayer()
319 Caches::getInstance().resourceCache.decrementRefcount(layer); in destroyLayer()
DLayerCache.cpp75 Caches::getInstance().resourceCache.decrementRefcount(layer); in deleteLayer()
DCaches.h263 ResourceCache resourceCache; variable
DOpenGLRenderer.cpp508 mCaches.resourceCache.decrementRefcount(layer); in updateLayers()
520 mCaches.resourceCache.incrementRefcount(layer); in pushLayerUpdate()
527 mCaches.resourceCache.lock(); in clearLayerUpdates()
529 mCaches.resourceCache.decrementRefcountLocked(mLayerUpdates.itemAt(i)); in clearLayerUpdates()
531 mCaches.resourceCache.unlock(); in clearLayerUpdates()
894 Caches::getInstance().resourceCache.decrementRefcount(layer); in composeLayer()
/frameworks/base/core/jni/android/graphics/
DColorFilter.cpp40 android::uirenderer::Caches::getInstance().resourceCache.destructor(f); in finalizer()
DBitmap.cpp257 android::uirenderer::Caches::getInstance().resourceCache.destructor(bitmap); in Bitmap_destructor()
267 return android::uirenderer::Caches::getInstance().resourceCache.recycle(bitmap); in Bitmap_recycle()
DPath.cpp39 android::uirenderer::Caches::getInstance().resourceCache.destructor(obj); in finalizer()
DShader.cpp60 android::uirenderer::Caches::getInstance().resourceCache.destructor(skiaShader); in Shader_destructor()