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

Commit 779321fd authored by Romain Guy's avatar Romain Guy
Browse files

Destroy display lists when running complete memory trims

Bug #8833153

Display lists ops might now keep references to GL resources so they
must be destroyed when the EGL context goes away.

Change-Id: I0feb18f5539b345234a58dafa6f0775d7d7460dc
parent e0fc1875
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12679,6 +12679,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @hide
     */
    protected void destroyHardwareResources() {
        clearDisplayList();
        destroyLayer(true);
    }