Mesa (master): mesa: comments for _mesa_generate_mipmap_level()

Brian Paul brianp at kemper.freedesktop.org
Mon May 18 16:37:02 UTC 2009


Module: Mesa
Branch: master
Commit: adabd0e81e287cd5dac60fa63841d8b096d10d5f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adabd0e81e287cd5dac60fa63841d8b096d10d5f

Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 18 10:27:31 2009 -0600

mesa: comments for _mesa_generate_mipmap_level()

---

 src/mesa/main/mipmap.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index bc8658b..7a71974 100644
--- a/src/mesa/main/mipmap.c
+++ b/src/mesa/main/mipmap.c
@@ -1370,6 +1370,9 @@ make_2d_stack_mipmap(GLenum datatype, GLuint comps, GLint border,
 
 /**
  * Down-sample a texture image to produce the next lower mipmap level.
+ * \param comps  components per texel (1, 2, 3 or 4)
+ * \param srcRowStride  stride between source rows, in texels
+ * \param dstRowStride  stride between destination rows, in texels
  */
 void
 _mesa_generate_mipmap_level(GLenum target,




More information about the mesa-commit mailing list