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

Skip to content
Commit 6b6ed957 authored by Alec Mouri's avatar Alec Mouri
Browse files

Let mediaserver use CleanupMode::CLEAN_ALL mode for RenderEngine

This mode for cleanupPostRender:
* Destroys the underlying image cache, so the expicit unbind() call
isn't needed.
* Rebinds texture memory to a placeholder buffer, so the driver won't
keep a buffer around.

Bug: 162202251
Test: Launch custom apk with thumbnail generation
Test: adb shell dumpsys meminfo mediaserver
Change-Id: Idcb008600aab81a46eef4405ad9d52382e5dd810
Merged-In: Idcb008600aab81a46eef4405ad9d52382e5dd810
parent a754acd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment