projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8570232
)
glx/xlib: remove another XSync
author
Keith Whitwell
<keithw@vmware.com>
Thu, 19 Aug 2010 23:14:47 +0000
(
00:14
+0100)
committer
Keith Whitwell
<keithw@vmware.com>
Sun, 22 Aug 2010 13:48:24 +0000
(14:48 +0100)
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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/xm_api.c
b/src/gallium/state_trackers/glx/xlib/xm_api.c
index 3c9d14976176350232e5ff2a71a301dafa416811..2fc400b3fcc9bb2301d104bba8b5ada23c242d18 100644
(file)
--- 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);