-/* $Id: accum.c,v 1.14 2000/02/02 19:17:57 brianp Exp $ */
+/* $Id: accum.c,v 1.15 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
-void gl_alloc_accum_buffer( GLcontext *ctx )
+void
+_mesa_alloc_accum_buffer( GLcontext *ctx )
{
GLint n;
/*
* Clear the accumulation Buffer.
*/
-void gl_clear_accum_buffer( GLcontext *ctx )
+void
+_mesa_clear_accum_buffer( GLcontext *ctx )
{
GLuint buffersize;
GLfloat acc_scale;
-/* $Id: accum.h,v 1.2 1999/11/11 01:22:25 brianp Exp $ */
+/* $Id: accum.h,v 1.3 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
*/
-
-
-
#ifndef ACCUM_H
#define ACCUM_H
#include "types.h"
-extern void gl_alloc_accum_buffer( GLcontext *ctx );
+extern void
+_mesa_alloc_accum_buffer( GLcontext *ctx );
-extern void gl_clear_accum_buffer( GLcontext *ctx );
+extern void
+_mesa_clear_accum_buffer( GLcontext *ctx );
extern void
-/* $Id: buffers.c,v 1.1 2000/02/02 19:15:03 brianp Exp $ */
+/* $Id: buffers.c,v 1.2 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
if (newMask) {
if (newMask & ctx->Color.DrawDestMask) clear_color_buffers( ctx );
if (newMask & GL_DEPTH_BUFFER_BIT) gl_clear_depth_buffer( ctx );
- if (newMask & GL_ACCUM_BUFFER_BIT) gl_clear_accum_buffer( ctx );
+ if (newMask & GL_ACCUM_BUFFER_BIT) _mesa_clear_accum_buffer( ctx );
if (newMask & GL_STENCIL_BUFFER_BIT) gl_clear_stencil_buffer( ctx );
}
gl_alloc_stencil_buffer( ctx );
}
if (ctx->DrawBuffer->UseSoftwareAccumBuffer) {
- gl_alloc_accum_buffer( ctx );
+ _mesa_alloc_accum_buffer( ctx );
}
if (ctx->Visual->SoftwareAlpha) {
gl_alloc_alpha_buffers( ctx );