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

Harish Krupo harish.krupo.kps at intel.com
Mon Jun 5 14:36:58 UTC 2017


On 06/01/2017 08:12 PM, Emil Velikov wrote:
> 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
Addressed the above comments and sent a new patch. I will send a 
separate patch implementing swap_buffer_with_damage using 
native_window_set_surface_damage.

Regards
KPS Harish Krupo
> 
> 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