From ceb39f4f8dc4863fde17d668c752533a2184476e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 31 Jan 2002 00:27:43 +0000 Subject: Clean-up and optimize alpha test code. Major clean-up of pixel zoom code. --- src/mesa/swrast/s_zoom.h | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'src/mesa/swrast/s_zoom.h') diff --git a/src/mesa/swrast/s_zoom.h b/src/mesa/swrast/s_zoom.h index 2891d305e7..77ddb47823 100644 --- a/src/mesa/swrast/s_zoom.h +++ b/src/mesa/swrast/s_zoom.h @@ -1,4 +1,4 @@ -/* $Id: s_zoom.h,v 1.6 2002/01/21 18:12:34 brianp Exp $ */ +/* $Id: s_zoom.h,v 1.7 2002/01/31 00:27:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -24,39 +24,26 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - #ifndef S_ZOOM_H #define S_ZOOM_H - #include "mtypes.h" #include "swrast.h" extern void -_mesa_write_zoomed_rgba_span( GLcontext *ctx, - GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfloat *fog, - CONST GLchan rgba[][4], GLint y0 ); - +_mesa_write_zoomed_rgba_span( GLcontext *ctx, const struct sw_span *span, + CONST GLchan rgb[][4], GLint y0 ); extern void -_mesa_write_zoomed_rgb_span( GLcontext *ctx, - GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfloat *fog, +_mesa_write_zoomed_rgb_span( GLcontext *ctx, const struct sw_span *span, CONST GLchan rgb[][3], GLint y0 ); - extern void -_mesa_write_zoomed_index_span( GLcontext *ctx, - GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfloat *fog, - const GLuint indexes[], GLint y0 ); - +_mesa_write_zoomed_index_span( GLcontext *ctx, const struct sw_span *span, + GLint y0 ); extern void -_mesa_write_zoomed_stencil_span( GLcontext *ctx, - GLuint n, GLint x, GLint y, +_mesa_write_zoomed_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLstencil stencil[], GLint y0 ); - #endif -- cgit v1.2.3