summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-29 08:12:33 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-29 08:13:16 -0700
commit61fbc816570820757afdbc3cd04cd475b337ad4f (patch)
tree3ea8b8bfab2f4d3d0247f2492ccc8b5741f24dbf /src/mesa/main/dd.h
parenta2ab143b751b85ecb6b9807982ef6dab254f4b93 (diff)
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index caa50dd682..77d27bb03d 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -493,6 +493,11 @@ struct dd_function_table {
*/
void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage );
+ /** Map texture image data into user space */
+ void (*MapTexture)( GLcontext *ctx, struct gl_texture_object *tObj );
+ /** Unmap texture images from user space */
+ void (*UnmapTexture)( GLcontext *ctx, struct gl_texture_object *tObj );
+
/**
* Note: no context argument. This function doesn't initially look
* like it belongs here, except that the driver is the only entity