Re: [PATCH wayland v5] protocol: Add wl_surface.damage_buffer

2015-12-03 Thread Derek Foreman
Ok, I've pushed this now. Thanks, Derek On 03/12/15 03:36 AM, Jonas Ådahl wrote: > On Mon, Nov 30, 2015 at 10:55:04AM -0600, Derek Foreman wrote: >> wl_surface.damage uses surface local co-ordinates. >> >> Buffer scale and buffer transforms came along, and EGL surfaces >> have no understanding of

Re: [PATCH wayland v5] protocol: Add wl_surface.damage_buffer

2015-12-03 Thread Jonas Ådahl
On Mon, Nov 30, 2015 at 10:55:04AM -0600, Derek Foreman wrote: > wl_surface.damage uses surface local co-ordinates. > > Buffer scale and buffer transforms came along, and EGL surfaces > have no understanding of them. > > Theoretically, clients pass damage rectangles - in Y-inverted surface > co-o

[PATCH wayland v5] protocol: Add wl_surface.damage_buffer

2015-11-30 Thread Derek Foreman
wl_surface.damage uses surface local co-ordinates. Buffer scale and buffer transforms came along, and EGL surfaces have no understanding of them. Theoretically, clients pass damage rectangles - in Y-inverted surface co-ordinates) to EGLSwapBuffersWithDamage, and the EGL implementation passed them