From: Brian Paul Date: Sat, 17 Sep 2011 20:50:48 +0000 (-0600) Subject: mesa: add AllocTextureImageBuffer() driver hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1da1c0ca816672c7a9243b754bb4b803ab0394a;p=mesa.git mesa: add AllocTextureImageBuffer() driver hook --- 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. */