Browse Source

mesa: add AllocTextureImageBuffer() driver hook

tags/mesa-8.0-rc1
Brian Paul 14 years ago
parent
commit
d1da1c0ca8
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/mesa/main/dd.h

+ 6
- 0
src/mesa/main/dd.h View File

@@ -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.
*/

Loading…
Cancel
Save