st/dri: add support for the always_have_depth_buffer option
authorBrian Paul <brianp@vmware.com>
Thu, 14 Mar 2013 02:24:05 +0000 (20:24 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Mar 2013 13:05:01 +0000 (07:05 -0600)
commitfec8733d4ed573c5a3e1cb0e837bcfa1986bbeff
tree0c08e4eda0b3d01bb8db7906e5c834a1bf59c090
parent5d1b3097e2ee7c0a8197562a47a09beb0930acfc
st/dri: add support for the always_have_depth_buffer option

This involved adding another driOptionCache to dri_screen.  The
existing one just held the default values.  But now we also need
to have the values from the DRI config file so that we can get at
the always_have_depth_buffer config option, which is per-screen.
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_screen.h