Mesa (map-texture-image-v4): mesa: update comment for MapTextureImage() hook
Brian Paul
brianp at kemper.freedesktop.org
Fri Jul 22 20:58:05 UTC 2011
Module: Mesa
Branch: map-texture-image-v4
Commit: eef4ea85c493abd178e464b478ae31d8d5ad80f4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eef4ea85c493abd178e464b478ae31d8d5ad80f4
Author: Brian Paul <brianp at vmware.com>
Date: Fri Jul 22 13:53:22 2011 -0600
mesa: update comment for MapTextureImage() hook
---
src/mesa/main/dd.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 7266ed6..268ec32 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -531,7 +531,12 @@ struct dd_function_table {
struct gl_texture_image *texImage);
/** Map a slice of a texture image into user space.
- * \param mode bitmask of GL_MAP_READ_BIT, GL_MAP_WRITE_BIT.
+ * \param texImage the texture image
+ * \param slice the 3D image slice or array texture slice
+ * \param x, y, w, h region of interest
+ * \param mode bitmask of GL_MAP_READ_BIT, GL_MAP_WRITE_BIT
+ * \param mapOut returns start of mapping of region of interest
+ * \param rowStrideOut returns row stride (in bytes)
*/
void (*MapTextureImage)(struct gl_context *ctx,
struct gl_texture_image *texImage,
More information about the mesa-commit
mailing list