[Mesa-dev] [PATCH v2] egl/android: support for EGL_KHR_partial_update

Emil Velikov emil.l.velikov at gmail.com
Thu Jun 1 14:42:35 UTC 2017


Hi Harish

On 1 June 2017 at 11:27, Harish Krupo <harish.krupo.kps at intel.com> wrote:
> This patch adds support for the EGL_KHR_partial_update extension for
> android platform. It passes 36/37 tests in dEQP for EGL_KHR_partial_update.
> 1 test not supported.
>
> v2: add fallback for eglSetDamageRegionKHR (Tapani)
>
AFAICT the native_window_set_surface_damage API was introduced in 2015
[1]. Is it available all the way back to Android L - earliest
supported version in Mesa?
Alternatively can you please reintroduce the ANDROID_VERSION define
[2] and guard the new code accordingly.

As a follow-up you can use
native_window_set_surface_damage()/droid_set_damage_region to provide
a proper .swap_buffers_with_damage implementation and enable the
EXT/KHR extensions.

Thanks
Emil

[1] https://android.googlesource.com/platform/system/core/+/04274a29ff534000ca38cdb627daab98cfa2878d%5E1..04274a29ff534000ca38cdb627daab98cfa2878d/
[2] https://cgit.freedesktop.org/mesa/mesa/commit/?id=0e1ff22d55816c9a3710257c2e705a98ad3282bc


More information about the mesa-dev mailing list