Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb8785e authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am 1099d64b: am 09a0c7c8: Merge "Free prefetched layers on TRIM_MEMORY" into lmp-dev

* commit '1099d64b40f555da92a7aee56c55a20a6f5c24f8':
  Free prefetched layers on TRIM_MEMORY
parents 5acf03c4 eb50b857
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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);
    }
    }