projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de1f86
)
glx/xlib: no need to call XSync from XMesaFlush
author
Keith Whitwell
<keithw@vmware.com>
Thu, 19 Aug 2010 23:08:22 +0000
(
00:08
+0100)
committer
Keith Whitwell
<keithw@vmware.com>
Sun, 22 Aug 2010 13:48:24 +0000
(14:48 +0100)
Try to eliminate some unnecessary X server round trips.
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 c0c418306fb84cd0cee24e62eb4e10cb2a3a9a7c..3c9d14976176350232e5ff2a71a301dafa416811 100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/
src/gallium/state_trackers/glx/xlib/xm_api.c
@@
-1154,7
+1154,7
@@
void XMesaFlush( XMesaContext c )
xmdpy->screen->fence_finish(xmdpy->screen, fence, 0);
xmdpy->screen->fence_reference(xmdpy->screen, &fence, NULL);
}
- X
Sync( c->xm_visual->display, False
);
+ X
Flush( c->xm_visual->display
);
}
}