Module: Mesa Branch: master Commit: 8b15de2736976ed6095d6f36e22c66f9de43601d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b15de2736976ed6095d6f36e22c66f9de43601d
Author: Keith Whitwell <[email protected]> Date: Fri Aug 20 00:14:47 2010 +0100 glx/xlib: remove another XSync With this change, xmesa_get_window_size still does one round trip, but that's better than doing two. --- src/gallium/state_trackers/glx/xlib/xm_api.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 3c9d149..2fc400b 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -263,7 +263,6 @@ xmesa_get_window_size(Display *dpy, XMesaBuffer b, Status stat; pipe_mutex_lock(xmdpy->mutex); - XSync(b->xm_visual->display, 0); /* added for Chromium */ stat = get_drawable_size(dpy, b->ws.drawable, width, height); pipe_mutex_unlock(xmdpy->mutex); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
