Re: [Mesa-dev] [PATCH] egl/x11: Send invalidate to driver on copy_region path in swap_buffer

2018-04-27 Thread Michel Dänzer
On 2018-04-27 01:09 AM, Deepak Rawat wrote: > Similar to swap_available path send invalidate to the driver because > egl/X11 is not watching for for server's invalidate events. The > dri2_copy_region path is trigered when server supports DRI2 version > minor 1. > > Tested with piglit egl tests

[Mesa-dev] [PATCH] egl/x11: Send invalidate to driver on copy_region path in swap_buffer

2018-04-26 Thread Deepak Rawat
Similar to swap_available path send invalidate to the driver because egl/X11 is not watching for for server's invalidate events. The dri2_copy_region path is trigered when server supports DRI2 version minor 1. Tested with piglit egl tests for regression. V2: Move invalidate from dri2_copy_region