<p dir="ltr"><br>
On Apr 29, 2014 5:35 AM, "Pekka Paalanen" <<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>> wrote:<br>
><br>
> On Mon, 28 Apr 2014 11:19:32 -0400<br>
> "Jasper St. Pierre" <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>> wrote:<br>
><br>
> > ---<br>
> > clients/window.c | 4 ++--<br>
> > 1 file changed, 2 insertions(+), 2 deletions(-)<br>
> ><br>
> > diff --git a/clients/window.c b/clients/window.c<br>
> > index d822af7..3897440 100644<br>
> > --- a/clients/window.c<br>
> > +++ b/clients/window.c<br>
> > @@ -4338,11 +4338,11 @@ surface_create(struct window *window)<br>
> > return surface;<br>
> > }<br>
> ><br>
> > -static window_buffer_type<br>
> > +static enum window_buffer_type<br>
> > get_preferred_buffer_type(struct display *display)<br>
> > {<br>
> > #ifdef HAVE_CAIRO_EGL<br>
> > - if (display->argb_device)<br>
> > + if (display->argb_device && !getenv("TOYTOOLKIT_NO_EGL"))<br>
> > return WINDOW_BUFFER_TYPE_EGL_WINDOW;<br>
> > #endif<br>
> ><br>
><br>
> Nice.<br>
><br>
> I wonder, would it be time to finally just drop cairo-egl completely?<br>
> It does raise the question on what to do with weston-gears and<br>
> weston-screensaver. ISTR that krh was not fond of using sub-surfaces<br>
> for them, so... just turn them into simple-egl kind of clients? Did we<br>
> already have the decorations code easily integrable to non-cairo GL<br>
> apps, maybe stemming from the wayland-backend work?</p>
<p dir="ltr">The frame stuff in frame.c does use cairo, but it can be used to draw into a texture. Unfortunately, it's kind of a pain. The code to do it is here: <a href="http://cgit.freedesktop.org/wayland/weston/tree/src/compositor-wayland.c#n337">http://cgit.freedesktop.org/wayland/weston/tree/src/compositor-wayland.c#n337</a></p>
<p dir="ltr">--Jason</p>
<p dir="ltr">><br>
> That might be a nice newbie task.<br>
><br>
><br>
> Thanks,<br>
> pq<br>
> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</p>