projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd60077
)
window: Add a simple getenv to force SHM rendering
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 28 Apr 2014 15:19:32 +0000
(11:19 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 1 May 2014 04:04:34 +0000
(21:04 -0700)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
ce0130c
..
f12ce39
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-4351,11
+4351,11
@@
surface_create(struct window *window)
return surface;
}
-static window_buffer_type
+static
enum
window_buffer_type
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