[PATCH 6/6] window: Add a simple getenv to force SHM rendering

Jasper St. Pierre jstpierre at mecheye.net
Tue Apr 29 06:52:10 PDT 2014


On Mon, Apr 28, 2014 at 11:19 AM, Jasper St. Pierre
<jstpierre at mecheye.net>wrote:

> ---
>  clients/window.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/clients/window.c b/clients/window.c
> index d822af7..3897440 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -4338,11 +4338,11 @@ surface_create(struct window *window)
>         return surface;
>  }
>
> -static window_buffer_type
> +static enum window_buffer_type
>

Whoops, you can see an improper rebase here. I'll fix that. :)


>  get_preferred_buffer_type(struct display *display)
>  {
>  #ifdef HAVE_CAIRO_EGL
> -       if (display->argb_device)
> +       if (display->argb_device && !getenv("TOYTOOLKIT_NO_EGL"))
>                 return WINDOW_BUFFER_TYPE_EGL_WINDOW;
>  #endif
>
> --
> 1.9.0
>
>


-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140429/71ac60b6/attachment.html>


More information about the wayland-devel mailing list