summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-10 15:47:45 -0600
committerBrian <[email protected]>2007-08-10 15:48:54 -0600
commit8fbd81b4ed59e371aa616b87296e4263d8992bff (patch)
tree7344b1d23c68ae266ce3388f65204ab981b88ab1 /src/mesa/pipe/p_context.h
parent47fc2c4349746997704a7f81dffadd22363e0ff1 (diff)
added pipe->max_texture_size() query, use it in st_drawpixels()
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 89d9b36af7a..b303cee5cca 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -51,6 +51,11 @@ 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);
/*
* Drawing