summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_zoom.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-01-31 00:27:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-01-31 00:27:43 +0000
commitceb39f4f8dc4863fde17d668c752533a2184476e (patch)
treed2607492030932f55c063b9f214797ed4e8ccc9b /src/mesa/swrast/s_zoom.h
parente79de014c51b854356e1565c4f7b131906a85149 (diff)
Clean-up and optimize alpha test code.
Major clean-up of pixel zoom code.
Diffstat (limited to 'src/mesa/swrast/s_zoom.h')
-rw-r--r--src/mesa/swrast/s_zoom.h27
1 files changed, 7 insertions, 20 deletions
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