Mesa (map-texture-image-v4): swrast: update comments on _swrast_map_teximage()

Brian Paul brianp at kemper.freedesktop.org
Fri Jul 22 20:58:05 UTC 2011


Module: Mesa
Branch: map-texture-image-v4
Commit: 6181da7d582bae571199d4af9f479b3891f4e885
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6181da7d582bae571199d4af9f479b3891f4e885

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul 22 13:54:04 2011 -0600

swrast: update comments on _swrast_map_teximage()

---

 src/mesa/swrast/s_texture.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c
index 9424316..6e935ac 100644
--- a/src/mesa/swrast/s_texture.c
+++ b/src/mesa/swrast/s_texture.c
@@ -128,13 +128,11 @@ _mesa_check_map_teximage(struct gl_texture_image *texImage,
  * (x,y,w,h) defines a region of interest (ROI).  Reading/writing texels
  * outside of the ROI is undefined.
  *
- * \param texObj  the texture object
- * \param level  the mipmap level
- * \param faceSlice  the cube face or 3D/array image slice
+ * \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,
- *              GL_MAP_INVALIDATE_RANGE_BIT
- * \param mapOut  returns start of mapping of ROI
+ * \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




More information about the mesa-commit mailing list