projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1661dc
)
mesa: add AllocTextureImageBuffer() driver hook
author
Brian Paul
<brianp@vmware.com>
Sat, 17 Sep 2011 20:50:48 +0000
(14:50 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 17 Sep 2011 20:57:40 +0000
(14:57 -0600)
src/mesa/main/dd.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/dd.h
b/src/mesa/main/dd.h
index 18b1b01d60cfebb0d03c88bac1f08ce32edc7185..720e4f53d6a8798cc321efb69d27f3a0efb55486 100644
(file)
--- 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.
*/