On Mon, 9 Mar 2015 23:57:36 -0700
"Jasper St. Pierre" <[email protected]> wrote:

> The X11 xwm also draws decorations for client windows inside the compositor.

Yes it does, but that drawing is done for X11 (xcb) - I mean, that
Cairo drawing goes to a X11 Window directly, which then comes back from
Xwayland server for final composition, if I read
weston_wm_window_create_frame() right. It has a call to
cairo_xcb_surface_create_with_xrender_format().

It could not use local buffers unless we changed how the XWM works wrt.
X11 decors.


Thanks,
pq

> On Mon, Mar 9, 2015 at 11:34 PM, Pekka Paalanen <[email protected]> wrote:
> 
> > On Mon, 09 Mar 2015 10:56:23 -0700
> > Bill Spitzak <[email protected]> wrote:
> >
> > > On 03/09/2015 01:20 AM, Pekka Paalanen wrote:
> > >
> > > > However, we already also have an exception to this in upstream: the
> > > > Wayland backend needs to draw the output window decorations.
> > >
> > > Sorry can you explain that in more detail?
> >
> > An application that is a Wayland client needs to draw its own
> > decorations (always when using the current form of our shell protocol
> > extensions for the desktop).
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to