bootanimation: performance/speedup enhancements
Bootanimation: Fix the low memory device oom when run boot animation Low memory device is easily to be oom when run boot animation. Here we do optimize the boot animation GL Texture only one frame needed. That is free timely and re-init it again. When in boot animation, the fps=15, so it is ok to do the delete and re-init. CRs-Fixed: 572325 Change-Id: I1e81c3d0f3600ac895f9bd7bd00a284f3d4b7d4c bootanimation: Fix compilation warnings Change-Id: Iaf7e66811f3cecf8b5b1fa690941489a7a07f7fd bootanimation: performance/speedup enhancements (squashed from CM11) bootanim: Don't cache textures if they're expected to use a lot of VRAM (rmcc) https://github.com/CyanogenMod/android_frameworks_base/commit/14f9eecd3f543a25c4a2053d6155a9396a777a3a#cmds/bootanimation bootanimation: performance enhancements (turl) https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133#cmds/bootanimation bootanimation: fix usage of LOGW (intervigilium) https://github.com/CyanogenMod/android_frameworks_base/commit/e45cf7d232490f44aecf8f2447220a8b5ace4c10#cmds/bootanimation bootanimation: allow using RGB565 instead of ARGB8888 (tpruvot) https://github.com/CyanogenMod/android_frameworks_base/commit/204282870a9c69b04ad5ddecd73fafbd7996cbc0#cmds/bootanimation Change-Id: I203fa23f77d1349fb822a7662e2cd3998ba4c814 bootanimation: Do not free frame map The frame map is reused when needSaveMem==true, resulting in a double free and segfault. The only side effect would seem to be failure to cleanup all resources at exit. That's acceptable, as the kernel will do it anyway. Note that in 12.1, the frame map release commit was reverted by CAF in commit I535330edb636f9457beed0849147168eaa6ae2ec, which results in the same behavior. Change-Id: I4ea66dccd1f5c9d784701242fba8700bce271579 bootanimation: Switch to readahead Change-Id: I287132e311e96c0437df67c76b86bb47b8f8380e [mikeioannina]: Adjust for cm-14.0 Change-Id: I203fa23f77d1349fb822a7662e2cd3998ba4c814
Loading
Please register or sign in to comment