Loading libs/hwui/renderthread/CanvasContext.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -314,6 +314,7 @@ void CanvasContext::destroyHardwareResources() { stopDrawing(); stopDrawing(); if (mEglManager.hasEglContext()) { if (mEglManager.hasEglContext()) { requireGlContext(); requireGlContext(); freePrefetechedLayers(); mRootRenderNode->destroyHardwareResources(); mRootRenderNode->destroyHardwareResources(); Caches::getInstance().flush(Caches::kFlushMode_Layers); Caches::getInstance().flush(Caches::kFlushMode_Layers); } } Loading Loading
libs/hwui/renderthread/CanvasContext.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -314,6 +314,7 @@ void CanvasContext::destroyHardwareResources() { stopDrawing(); stopDrawing(); if (mEglManager.hasEglContext()) { if (mEglManager.hasEglContext()) { requireGlContext(); requireGlContext(); freePrefetechedLayers(); mRootRenderNode->destroyHardwareResources(); mRootRenderNode->destroyHardwareResources(); Caches::getInstance().flush(Caches::kFlushMode_Layers); Caches::getInstance().flush(Caches::kFlushMode_Layers); } } Loading