GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

MESA: Implement EGL_KHR_swap_buffers_with_damage for android platform #64

Closed rsglobal closed 4 years ago

rsglobal commented 4 years ago

This feature should speed-up UI in cases, where GPU off-loading is not possible.

Googling gave some results:

https://www.mail-archive.com/search?l=mesa-dev@lists.freedesktop.org&q=subject:%22%5C%5BMesa%5C-dev%5C%5D+%5C%5BPATCH+v2%5C%5D+egl%5C%2Fandroid%5C%3A+support+for%09EGL_KHR_partial_update%22&o=newest&f=1

https://lists.freedesktop.org/archives/mesa-dev/2017-June/157847.html

rsglobal commented 4 years ago

It turns out that damage isn't used by SurfaceFlinger's RenderEngine. Looks like only HWC HAL can use damage.

rsglobal commented 4 years ago

MR created: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6334