diff options
author | Brian Paul <[email protected]> | 2011-09-17 14:50:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-17 14:57:40 -0600 |
commit | d1da1c0ca816672c7a9243b754bb4b803ab0394a (patch) | |
tree | 39ce8d36ed9468c8322a40174a6f3ba0f09ef6f8 /src/mesa | |
parent | a1661dc8957a35899d653e9fffd97f166c56be56 (diff) |
mesa: add AllocTextureImageBuffer() driver hook
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/dd.h | 6 |
1 files changed, 6 insertions, 0 deletions
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. */ |