Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Bill Spitzak
On 03/07/2013 02:32 AM, Pekka Paalanen wrote: At the very least, we're going to need flags on enter/leave events to note when the pointer left towards a subsurface. Why exactly? The client will receive an enter for the sub-surface as the very next thing. If it is about the race of an app rep

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Kai-Uwe Behrmann
Am 07.03.2013 12:56, schrieb Pekka Paalanen: On Thu, 07 Mar 2013 12:32:21 +0100 Kai-Uwe Behrmann wrote: Statement: The flattened output of overlapping transparent regions depend on the intented order of painting the graph during compositing. Question: Does your following annotation has a sid

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Thu, 07 Mar 2013 12:32:21 +0100 Kai-Uwe Behrmann wrote: > Am 07.03.2013 11:44, schrieb Pekka Paalanen: > > On Thu, 07 Mar 2013 07:25:17 +0100 > > Kai-Uwe Behrmann wrote: > >>> The biggest improvement over v1 is that we have some thought-out > >>> commit behaviours. It is possible to resize a

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Kai-Uwe Behrmann
Am 07.03.2013 11:44, schrieb Pekka Paalanen: On Thu, 07 Mar 2013 07:25:17 +0100 Kai-Uwe Behrmann wrote: The biggest improvement over v1 is that we have some thought-out commit behaviours. It is possible to resize a window so that all surfaces stay in sync on screen, and it is also possible to h

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Thu, 07 Mar 2013 07:25:17 +0100 Kai-Uwe Behrmann wrote: > Hello Pekka, > > Am 22.02.2013 16:07, schrieb Pekka Paalanen: > > - A totally new demo client presenting sub-surfaces, including > >Cairo-image rendered window with a pure EGL/GL widget in a > >sub-surface, running independentl

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Wed, 6 Mar 2013 12:58:58 -0800 Daniel Stone wrote: > Hi, > > On 22 February 2013 07:07, Pekka Paalanen wrote: > > > The biggest improvement over v1 is that we have some thought-out > > commit behaviours. It is possible to resize a window so that all > > surfaces stay in sync on screen, and

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-06 Thread Kai-Uwe Behrmann
Hello Pekka, Am 22.02.2013 16:07, schrieb Pekka Paalanen: - A totally new demo client presenting sub-surfaces, including Cairo-image rendered window with a pure EGL/GL widget in a sub-surface, running independently, but still without glitches on resize (sans bugs). http://people.coll

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-06 Thread Daniel Stone
Hi, On 22 February 2013 07:07, Pekka Paalanen wrote: > The biggest improvement over v1 is that we have some thought-out > commit behaviours. It is possible to resize a window so that all > surfaces stay in sync on screen, and it is also possible to have > sub-surfaces running on their own (i.e.

wl_subsurface destruction, and design patterns (Re: [RFC Weston 00/10] Sub-surfaces v2)

2013-02-27 Thread Pekka Paalanen
On Fri, 22 Feb 2013 17:07:44 +0200 Pekka Paalanen wrote: > Open issues: > > - What should wl_subsurface.destroy do? Nothing, or reset the > wl_surface's role? Currently it resets the role, since it was > easy to implement. > ... > To do, bugs: > > - destroying the wl_surface of a wl_subsur

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-02-25 Thread Pekka Paalanen
On Fri, 22 Feb 2013 17:07:44 +0200 Pekka Paalanen wrote: > To do, bugs: > > - destroying the wl_surface of a wl_subsurface will prevent > destroying the wl_subsurface, fix this, and adjust the > protocol description accordingly > > - double-buffering of sub-surface z-order changes > > - a

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-02-23 Thread Pekka Paalanen
On Sat, 23 Feb 2013 12:05:20 +0100 Giulio Camuffo wrote: > Hi > > > - a demo client with window decorations stitched from 4 > > non-overlapping sub-surfaces > > I tought i may write here the problems i've seen when doing window > decorations this way in QtWayland: > (http://qt.gitorious.org/~

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-02-23 Thread Giulio Camuffo
Hi > - a demo client with window decorations stitched from 4 > non-overlapping sub-surfaces I tought i may write here the problems i've seen when doing window decorations this way in QtWayland: (http://qt.gitorious.org/~giucam/qt/giucam-qtwayland/commits/csd-subsurface-collage warning: very ver

[RFC Weston 00/10] Sub-surfaces v2

2013-02-22 Thread Pekka Paalanen
Hi all, this is a new spin of the sub-surfaces Wayland protocol extension, v2. The v1 was announced in: http://lists.freedesktop.org/archives/wayland-devel/2012-December/006844.html Earlier we have already landed some 14 patches of toytoolkit restructuring, that was done after v1. The major chan