summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
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