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

2015-11-29 Thread Pekka Paalanen
On Fri, 27 Nov 2015 09:33:41 -0800 Jason Ekstrand wrote: > On Nov 27, 2015 1:35 AM, "Pekka Paalanen" wrote: > > > > On Fri, 27 Nov 2015 16:47:19 +0800 > > Jonas Ådahl wrote: > > > > > On Thu, Nov 26, 2015 at 03:44:12PM -0600, Derek Foreman wrote: > > > > wl_surface.damage uses surface local

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

2015-11-27 Thread Jason Ekstrand
On Nov 27, 2015 1:35 AM, "Pekka Paalanen" wrote: > > On Fri, 27 Nov 2015 16:47:19 +0800 > Jonas Ådahl wrote: > > > On Thu, Nov 26, 2015 at 03:44:12PM -0600, Derek Foreman wrote: > > > wl_surface.damage uses surface local co-ordinates. > > > > > > Buffer scale and buffer transforms came along, and

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

2015-11-27 Thread Pekka Paalanen
On Fri, 27 Nov 2015 16:47:19 +0800 Jonas Ådahl wrote: > On Thu, Nov 26, 2015 at 03:44:12PM -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. > > > > Theore

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

2015-11-27 Thread Jonas Ådahl
On Thu, Nov 26, 2015 at 03:44:12PM -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

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

2015-11-26 Thread Jason Ekstrand
On Nov 26, 2015 1:44 PM, "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-ordinates) to E

[PATCH wayland v4] protocol: Add wl_surface.damage_buffer

2015-11-26 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