summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-10 16:42:26 +0100
committerKeith Whitwell <[email protected]>2007-08-10 16:44:07 +0100
commit39407fd85467141fceafbedf52d9e55e008eb011 (patch)
treec3580533e9e37c1d410eb6bb8f24fd192f27dbcc /src/mesa/pipe/p_context.h
parent1c8bcc733d695732ca704565b3a10ac5f4172ea3 (diff)
Move string functions to state_tracker, add queries to pipe, winsys.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index b303cee5cca..84557b9a4a7 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -51,12 +51,19 @@ struct pipe_context {
*/
const GLuint *(*supported_formats)(struct pipe_context *pipe,
GLuint *numFormats);
+
void (*max_texture_size)(struct pipe_context *pipe,
GLuint textureType, /* PIPE_TEXTURE_x */
GLuint *maxWidth,
GLuint *maxHeight,
GLuint *maxDepth);
+ const char *(*get_name)( struct pipe_context *pipe );
+
+ const char *(*get_vendor)( struct pipe_context *pipe );
+
+
+
/*
* Drawing
*/