diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-03-08 10:09:43 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-03-09 12:56:47 +0800 |
commit | 95c5c69b505f562b61e23fa7dd500dbdd432a70d (patch) | |
tree | 26d37ded7617b055477767778326333665a74a8d /src/gallium/state_trackers/egl/x11/native_x11.c | |
parent | da92f6db5bf0d3ac42732df556eb4f96619c9047 (diff) |
st/egl: Use xlib_sw_winsys in ximage backend.
Diffstat (limited to 'src/gallium/state_trackers/egl/x11/native_x11.c')
-rw-r--r-- | src/gallium/state_trackers/egl/x11/native_x11.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_x11.c b/src/gallium/state_trackers/egl/x11/native_x11.c index 3add95d0ac..ef7490503b 100644 --- a/src/gallium/state_trackers/egl/x11/native_x11.c +++ b/src/gallium/state_trackers/egl/x11/native_x11.c @@ -141,16 +141,9 @@ native_create_display(EGLNativeDisplayType dpy) if (!ndpy) { EGLint level = (force_sw) ? _EGL_INFO : _EGL_WARNING; - boolean use_shm; - - /* - * XXX st/mesa calls pipe_screen::update_buffer in st_validate_state. - * When SHM is used, there is a good chance that the shared memory - * segment is detached before the softpipe tile cache is flushed. - */ - use_shm = FALSE; - _eglLog(level, "use software%s fallback", (use_shm) ? " (SHM)" : ""); - ndpy = x11_create_ximage_display(dpy, use_shm); + + _eglLog(level, "use software fallback"); + ndpy = x11_create_ximage_display(dpy); } return ndpy; |