st/dri: Don't request a fake front if the server adds one automatically.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 18 Jan 2010 12:33:08 +0000 (13:33 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 18 Jan 2010 12:39:25 +0000 (13:39 +0100)
commit5f2d60a7154f896bb418231662663465269ce9b8
tree046292d76033008cdd85279de03714acafebdaf0
parentd773f28ff29a0abbb9f856cb4a3c60fcaeea1d3b
st/dri: Don't request a fake front if the server adds one automatically.

We use the presence of the getBuffersWithFormat extension function to
detect whether the server automatically adds a front.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/dri/dri_screen.c
src/gallium/state_trackers/dri/dri_screen.h