[PATCH] implement weston local texture using weston_buffer without wl_resourse

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 10 00:56:55 PDT 2015


On Mon, 9 Mar 2015 23:57:36 -0700
"Jasper St. Pierre" <jstpierre at mecheye.net> 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 <ppaalanen at gmail.com> wrote:
> 
> > On Mon, 09 Mar 2015 10:56:23 -0700
> > Bill Spitzak <spitzak at gmail.com> 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).


More information about the wayland-devel mailing list