summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/swrast.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-09-24 14:30:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-09-24 14:30:13 +0000
commit328a039413fd2b8649511f1ca130df2a59f2c71c (patch)
treef0739e2a41ee9ced641f6b2c3a9137d708e0899e /src/mesa/swrast/swrast.h
parentd9873c59ef4d14b5e3137cb2d7c765797f82ac56 (diff)
patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r--src/mesa/swrast/swrast.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index 9447e99880..7fb0d2a389 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -403,6 +403,13 @@ struct swrast_device_driver {
* depth[i] value if mask[i] is nonzero.
*/
+ void (*WriteMonoDepthSpan)( GLcontext *ctx, GLuint n, GLint x, GLint y,
+ const GLdepth depth, const GLubyte mask[] );
+ /* Write a horizontal run of depth values.
+ * If mask is NULL, draw all pixels.
+ * If mask is not null, only draw pixel [i] when mask [i] is true.
+ */
+
void (*ReadDepthSpan)( GLcontext *ctx, GLuint n, GLint x, GLint y,
GLdepth depth[] );
/* Read a horizontal span of values from the depth buffer.