diff options
author | Brian Paul <[email protected]> | 2004-09-24 14:30:13 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-09-24 14:30:13 +0000 |
commit | 328a039413fd2b8649511f1ca130df2a59f2c71c (patch) | |
tree | f0739e2a41ee9ced641f6b2c3a9137d708e0899e /src/mesa/swrast/swrast.h | |
parent | d9873c59ef4d14b5e3137cb2d7c765797f82ac56 (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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h index 9447e998808..7fb0d2a389c 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. |