Skip to content

Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage

Aleix Pol Gonzalez requested to merge work/EGL_EXT_swap_buffers_with_damage into master

Summary: Notify the driver about the parts of the screen that will be repainted. In some cases this can be benefitial. This is especially useful on lima and panfrost devices (e.g. pinephone, pinebook, pinebook pro).

Test Plan: Tested on a pinebook pro with a late mesa version. Basically I implemented it, then it didn't work and I fixed it. Maybe next step we want to look into our damage algorithm.

Merge request reports