summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-08-02 20:40:33 -0600
committerBrian <brian@i915.localnet.net>2007-08-02 20:40:33 -0600
commitc358a39af5968faf27c5fdc85bf64ac76fa2486b (patch)
tree7352a73c5883e9ae8d06a846564a3aa9845486b8 /src/mesa/pipe/p_context.h
parent61d0215d7b35bff980acbf1d61c764f8b80c0e71 (diff)
added pipe->supported_formats()
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 4f8bdae140..7acaabbdfd 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -50,6 +50,12 @@ struct pipe_context {
void (*destroy)( struct pipe_context * );
/*
+ * Queries
+ */
+ const GLuint *(*supported_formats)(struct pipe_context *pipe,
+ GLuint *numFormats);
+
+ /*
* Drawing
*/
void (*draw_vb)( struct pipe_context *pipe,