-
-
-/*
- * Return the address of the Z-buffer value for window coordinate (x,y):
- */
-#define Z_ADDRESS( CTX, X, Y ) \
- ((CTX)->DrawBuffer->Depth + (CTX)->DrawBuffer->Width * (Y) + (X))
-
-
-
-
-extern GLuint
-gl_depth_test_span( GLcontext *ctx, GLuint n, GLint x, GLint y,
- const GLdepth z[], GLubyte mask[] );
-
-extern void
-gl_depth_test_pixels( GLcontext *ctx,
- GLuint n, const GLint x[], const GLint y[],
- const GLdepth z[], GLubyte mask[] );
-
-
-extern void
-gl_read_depth_span_float( GLcontext *ctx, GLuint n, GLint x, GLint y,
- GLfloat depth[] );
-
-
-extern void
-gl_alloc_depth_buffer( GLcontext* ctx );
-
-
-extern void
-gl_clear_depth_buffer( GLcontext* ctx );
-
-