summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-19 18:00:26 -0700
committerBrian Paul <brianp@vmware.com>2010-01-19 18:01:02 -0700
commit1658f80153b84d7d7f0bebeaaf89f9850f782923 (patch)
tree06336481eb2844dad01d4691f7fb390878e951b6
parent031f23ac3a3a9219f93268fb4517ab0f80d9be42 (diff)
util/blit: document params to util_blit_pixels_writemask()
-rw-r--r--src/gallium/auxiliary/util/u_blit.c4
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 3f74e2aa8b..9725890bd4 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.
*/