summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/dri_screen.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2009-06-17 01:08:25 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2009-06-17 03:07:01 +0200
commit0342229289c3bd5ed7bc595db4fc88003430209e (patch)
tree7b9b3add41596fbbe345705a6268d2f187b840eb /src/gallium/state_trackers/dri/dri_screen.h
parentc9f19571da2673a934f6f97aeea92c5414c28925 (diff)
gallium dri st: Probe the driver for supported surface formats.
This is done when constructing the fbconfigs, and the result is saved for window system framebuffer creation. Note: For dri2 the server needs to have an identical format selection logic. Otherwise the dri state-tracker and the xorg driver (state-tracker) will disagree on which format to use for the attachments. Some more work is needed in this area. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri_screen.h')
-rw-r--r--src/gallium/state_trackers/dri/dri_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/dri_screen.h b/src/gallium/state_trackers/dri/dri_screen.h
index 100d9e50e0..090f9fee7c 100644
--- a/src/gallium/state_trackers/dri/dri_screen.h
+++ b/src/gallium/state_trackers/dri/dri_screen.h
@@ -62,6 +62,8 @@ struct dri_screen
/* gallium */
struct pipe_winsys *pipe_winsys;
struct pipe_screen *pipe_screen;
+ boolean d_depth_bits_last;
+ boolean sd_depth_bits_last;
};
/** cast wrapper */