From d1da1c0ca816672c7a9243b754bb4b803ab0394a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 17 Sep 2011 14:50:48 -0600 Subject: [PATCH] mesa: add AllocTextureImageBuffer() driver hook --- src/mesa/main/dd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 18b1b01d60c..720e4f53d6a 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -480,6 +480,12 @@ struct dd_function_table { void (*DeleteTextureImage)(struct gl_context *ctx, struct gl_texture_image *); + /** Called to allocate memory for a single texture image */ + GLboolean (*AllocTextureImageBuffer)(struct gl_context *ctx, + struct gl_texture_image *texImage, + gl_format format, GLsizei width, + GLsizei height, GLsizei depth); + /** * Called to free tImage->Data. */ -- 2.30.2