diff options
author | Ian Romanick <[email protected]> | 2008-03-25 18:07:56 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2008-03-25 18:15:58 -0700 |
commit | b09de96a17028c3c936f6a196e048c4f224da89f (patch) | |
tree | 756a5d150f77debf6dd9acc8e4c955400925a672 /src/gallium/winsys/xlib/xmesaP.h | |
parent | 84d8030735844785c3c97679db2bc1892a9c8c70 (diff) |
xlib: Add support for MIT-SHM in xlib winsys driver
Gives about a 3% performance increase in gears on x86-64 (non-tiled)
and about 10% performance increase in gears on Cell (tiled). I
actually expected more of a boost. :(
Diffstat (limited to 'src/gallium/winsys/xlib/xmesaP.h')
-rw-r--r-- | src/gallium/winsys/xlib/xmesaP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/xmesaP.h b/src/gallium/winsys/xlib/xmesaP.h index fa8d1f14b95..9b15b2ddf99 100644 --- a/src/gallium/winsys/xlib/xmesaP.h +++ b/src/gallium/winsys/xlib/xmesaP.h @@ -173,4 +173,7 @@ xmesa_buffer_height(XMesaBuffer b) extern void xmesa_display_surface(XMesaBuffer b, const struct pipe_surface *surf); +extern int +xmesa_check_for_xshm(XMesaDisplay *display); + #endif |