summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-12 12:40:18 -0700
committerEric Anholt <[email protected]>2011-11-03 23:29:52 -0700
commitf53680857aeb2ac1fb71a0bac958769d4f83952d (patch)
treefe6414441dc559710e3c5b3b3da79cd6f070e81c /src/mesa/swrast/s_depth.h
parente452fbe8718b4b84b682a775c5dc0153166f6ccc (diff)
swrast: MapRenderbuffer in separate depth/stencil readpixels fastpath
This introduces two new span helper functions we'll want to use in several places as we move to MapRenderbuffer, which pull out integer depth and stencil values from a renderbuffer mapping based on the renderbuffer format. v2: Use format_unpack helper for stencil read. v3: Clean up comment after conversion to format_unpack. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_depth.h')
-rw-r--r--src/mesa/swrast/s_depth.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_depth.h b/src/mesa/swrast/s_depth.h
index 44820ac8f76..8d5cdfaa006 100644
--- a/src/mesa/swrast/s_depth.h
+++ b/src/mesa/swrast/s_depth.h
@@ -53,7 +53,6 @@ extern void
_swrast_read_depth_span_uint( struct gl_context *ctx, struct gl_renderbuffer *rb,
GLint n, GLint x, GLint y, GLuint depth[] );
-
extern void
_swrast_clear_depth_buffer( struct gl_context *ctx, struct gl_renderbuffer *rb );