summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 14:40:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 14:40:04 +0000
commit9c4f016d2171319ad8cde2366d76fd7f70520621 (patch)
tree339b23451deb452c461a8b20bce8a48938285617
parent2f8b4c9d2f9a313af9c1d4ce1dbbd5fdc1fafa16 (diff)
minor clean-ups, renaming
-rw-r--r--src/mesa/main/accum.c6
-rw-r--r--src/mesa/main/buffers.c6
-rw-r--r--src/mesa/main/dlist.h11
3 files changed, 10 insertions, 13 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c
index 6ff4e8071a..6654a6314b 100644
--- a/src/mesa/main/accum.c
+++ b/src/mesa/main/accum.c
@@ -1,4 +1,4 @@
-/* $Id: accum.c,v 1.19 2000/04/04 00:54:23 brianp Exp $ */
+/* $Id: accum.c,v 1.20 2000/04/05 14:40:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -375,7 +375,7 @@ _mesa_Accum( GLenum op, GLfloat value )
rgba[i][ACOMP] = multTable[acc[i4+3]];
}
if (ctx->Color.SWmasking) {
- gl_mask_rgba_span( ctx, width, xpos, ypos, rgba );
+ _mesa_mask_rgba_span( ctx, width, xpos, ypos, rgba );
}
(*ctx->Driver.WriteRGBASpan)( ctx, width, xpos, ypos,
(const GLubyte (*)[4])rgba, NULL );
@@ -402,7 +402,7 @@ _mesa_Accum( GLenum op, GLfloat value )
rgba[i][ACOMP] = CLAMP( a, 0, iChanMax );
}
if (ctx->Color.SWmasking) {
- gl_mask_rgba_span( ctx, width, xpos, ypos, rgba );
+ _mesa_mask_rgba_span( ctx, width, xpos, ypos, rgba );
}
(*ctx->Driver.WriteRGBASpan)( ctx, width, xpos, ypos,
(const GLubyte (*)[4])rgba, NULL );
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 9a0f713bb1..9e836276a5 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -1,4 +1,4 @@
-/* $Id: buffers.c,v 1.3 2000/02/02 22:16:04 brianp Exp $ */
+/* $Id: buffers.c,v 1.4 2000/04/05 14:40:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -110,7 +110,7 @@ clear_color_buffer_with_masking( GLcontext *ctx )
rgba[j][BCOMP] = b;
rgba[j][ACOMP] = a;
}
- gl_mask_rgba_span( ctx, width, x, y + i, rgba );
+ _mesa_mask_rgba_span( ctx, width, x, y + i, rgba );
(*ctx->Driver.WriteRGBASpan)( ctx, width, x, y + i,
(CONST GLubyte (*)[4])rgba, NULL );
}
@@ -125,7 +125,7 @@ clear_color_buffer_with_masking( GLcontext *ctx )
for (j=0;j<width;j++) {
span[j] = ctx->Color.ClearIndex;
}
- gl_mask_index_span( ctx, width, x, y + i, span );
+ _mesa_mask_index_span( ctx, width, x, y + i, span );
(*ctx->Driver.WriteCI32Span)( ctx, width, x, y + i, span, mask );
}
}
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index f2aaa948c5..1d9c0a1ca2 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -1,10 +1,10 @@
-/* $Id: dlist.h,v 1.2 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: dlist.h,v 1.3 2000/04/05 14:40:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
- * Copyright (C) 1999 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2000 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"),
@@ -25,15 +25,13 @@
*/
-
-
-
#ifndef DLIST_H
#define DLIST_H
#include "types.h"
+
struct display_list {
union node *nodes;
GLuint OrFlag;
@@ -69,7 +67,6 @@ extern void _mesa_NewList( GLuint list, GLenum mode );
extern void _mesa_init_dlist_table( struct _glapi_table *table );
-
extern void gl_compile_cassette( GLcontext *ctx );
extern void gl_save_error( GLcontext *ctx, GLenum error, const char *s );