Overhaul the Xlib winsys layer.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 7 Dec 2007 14:57:54 +0000 (07:57 -0700)
committerBen Skeggs <skeggsb@gmail.com>
Sun, 9 Dec 2007 01:05:26 +0000 (12:05 +1100)
commit2a9c33f9fe4b78710bfa36f1309d791c294d7cc8
treeb1ffbec54a0f341b0633c527e5f906bfbd1e3de5
parent6397bef076271d36443ce9db5f80fa20b05ee60e
Overhaul the Xlib winsys layer.

Front/back color buffers are now allocated with ordinary malloc() via the
winsys buffer functions.
To display surfaces in SwapBuffers() or flush_frontbuffer() we create an
XImage that wraps the surface, then use XPutImage to copy to the window.
Shared memory transport disabled for now.
src/mesa/pipe/xlib/fakeglx.c
src/mesa/pipe/xlib/xm_api.c
src/mesa/pipe/xlib/xm_buffer.c
src/mesa/pipe/xlib/xm_surface.c
src/mesa/pipe/xlib/xm_winsys.c
src/mesa/pipe/xlib/xmesaP.h
src/mesa/sources