summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-13 16:47:18 +0000
committerBrian Paul <[email protected]>2002-11-13 16:47:18 +0000
commite21a79bfdd75b77385fb7e196c2898d96420d478 (patch)
tree0e397732ecb1a12b58fc07e2c64630f8c6dc7e6b /src
parent4d7a1289ed5e82004ef675ba2fbb084b968d96b7 (diff)
added comments about NULL mask parameter to span-write functions
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/swrast.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index a6f7995ff1c..55c1593246a 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -1,8 +1,8 @@
-/* $Id: swrast.h,v 1.32 2002/10/29 20:29:00 brianp Exp $ */
+/* $Id: swrast.h,v 1.33 2002/11/13 16:47:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 5.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
@@ -458,6 +458,8 @@ struct swrast_device_driver {
void (*WriteMonoRGBASpan)( const GLcontext *ctx, GLuint n, GLint x, GLint y,
const GLchan color[4], const GLubyte mask[] );
/* Write a horizontal run of RGBA pixels all with the same color.
+ * If mask is NULL, draw all pixels.
+ * If mask is not null, only draw pixel [i] when mask [i] is true.
*/
void (*WriteRGBAPixels)( const GLcontext *ctx,
@@ -479,12 +481,16 @@ struct swrast_device_driver {
/* Write a horizontal run of CI pixels. One function is for 32bpp
* indexes and the other for 8bpp pixels (the common case). You mus
* implement both for color index mode.
+ * If mask is NULL, draw all pixels.
+ * If mask is not null, only draw pixel [i] when mask [i] is true.
*/
void (*WriteMonoCISpan)( const GLcontext *ctx, GLuint n, GLint x, GLint y,
GLuint colorIndex, const GLubyte mask[] );
/* Write a horizontal run of color index pixels using the color index
* last specified by the Index() function.
+ * If mask is NULL, draw all pixels.
+ * If mask is not null, only draw pixel [i] when mask [i] is true.
*/
void (*WriteCI32Pixels)( const GLcontext *ctx,