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

Author: Brian Paul <[email protected]>
Date:   Tue Jan 19 18:00:26 2010 -0700

util/blit: document params to util_blit_pixels_writemask()

---

 src/gallium/auxiliary/util/u_blit.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blit.c 
b/src/gallium/auxiliary/util/u_blit.c
index 3f74e2a..9725890 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -262,6 +262,10 @@ regions_overlap(int srcX0, int srcY0,
  * Copy pixel block from src surface to dst surface.
  * Overlapping regions are acceptable.
  * Flipping and stretching are supported.
+ * \param filter  one of PIPE_TEX_MIPFILTER_NEAREST/LINEAR
+ * \param writemask  controls which channels in the dest surface are sourced
+ *                   from the src surface.  Disabled channels are sourced
+ *                   from (0,0,0,1).
  * XXX what about clipping???
  * XXX need some control over blitting Z and/or stencil.
  */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to