Start re-working SwapBuffers.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 00:37:00 +0000 (18:37 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 00:37:00 +0000 (18:37 -0600)
commitd8e66aca8443c6802ecd8f1a353024ed1d0f32c3
treec0038761beedea1e4854981c2fbfb7a6942ce722
parent28bed6d355e7ea3acbc4dbef0490e269d560f89e
Start re-working SwapBuffers.

intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface
in the on-screen window.
Added a pipe_surface parameter to winsys->flush_frontbuffer().
Front buffer rendering/flushing actually works now.
But, we should only allocate the front surface on demand...
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
src/mesa/pipe/p_winsys.h
src/mesa/pipe/xlib/xm_winsys.c
src/mesa/state_tracker/st_cb_flush.c