X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fswrast%2Fs_zoom.h;h=1955e7e88390dc34002aefedca8320f478ee4a3d;hb=1b3ec16cc2c1190f0212fda26242f5e5206f5b1e;hp=54ccf69eb80f39a9908016f614dd811dffad8a9e;hpb=93e0ba8b80338e3526dcf686afef369e39391b45;p=mesa.git diff --git a/src/mesa/swrast/s_zoom.h b/src/mesa/swrast/s_zoom.h index 54ccf69eb80..1955e7e8839 100644 --- a/src/mesa/swrast/s_zoom.h +++ b/src/mesa/swrast/s_zoom.h @@ -1,10 +1,8 @@ -/* $Id: s_zoom.h,v 1.8 2002/12/05 04:48:53 brianp Exp $ */ - /* * Mesa 3-D graphics library - * Version: 5.1 + * Version: 6.5 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -27,26 +25,32 @@ #ifndef S_ZOOM_H #define S_ZOOM_H -#include "mtypes.h" -#include "swrast.h" +#include "main/mtypes.h" +#include "s_span.h" + + +extern void +_swrast_write_zoomed_rgba_span(struct gl_context *ctx, GLint imgX, GLint imgY, + const SWspan *span, const GLvoid *rgba); extern void -_mesa_write_zoomed_rgba_span( GLcontext *ctx, const struct sw_span *span, - CONST GLchan rgb[][4], GLint y0, - GLint skipPixels ); +_swrast_write_zoomed_rgb_span(struct gl_context *ctx, GLint imgX, GLint imgY, + const SWspan *span, const GLvoid *rgb); extern void -_mesa_write_zoomed_rgb_span( GLcontext *ctx, const struct sw_span *span, - CONST GLchan rgb[][3], GLint y0, - GLint skipPixels ); +_swrast_write_zoomed_depth_span(struct gl_context *ctx, GLint imgX, GLint imgY, + const SWspan *span); + extern void -_mesa_write_zoomed_index_span( GLcontext *ctx, const struct sw_span *span, - GLint y0, GLint skipPixels ); +_swrast_write_zoomed_stencil_span(struct gl_context *ctx, GLint imgX, GLint imgY, + GLint width, GLint spanX, GLint spanY, + const GLubyte stencil[]); extern void -_mesa_write_zoomed_stencil_span( GLcontext *ctx, GLuint n, GLint x, GLint y, - const GLstencil stencil[], GLint y0, - GLint skipPixels ); +_swrast_write_zoomed_z_span(struct gl_context *ctx, GLint imgX, GLint imgY, + GLint width, GLint spanX, GLint spanY, + const GLuint *zVals); + #endif