Browse Source

changed prefix to _mesa_ for a few accum functions

tags/mesa_3_3
Brian Paul 26 years ago
parent
commit
8427d93449
3 changed files with 13 additions and 12 deletions
  1. 5
    3
      src/mesa/main/accum.c
  2. 5
    6
      src/mesa/main/accum.h
  3. 3
    3
      src/mesa/main/buffers.c

+ 5
- 3
src/mesa/main/accum.c View File

@@ -1,4 +1,4 @@
/* $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
@@ -67,7 +67,8 @@



void gl_alloc_accum_buffer( GLcontext *ctx )
void
_mesa_alloc_accum_buffer( GLcontext *ctx )
{
GLint n;

@@ -420,7 +421,8 @@ _mesa_Accum( GLenum op, GLfloat value )
/*
* Clear the accumulation Buffer.
*/
void gl_clear_accum_buffer( GLcontext *ctx )
void
_mesa_clear_accum_buffer( GLcontext *ctx )
{
GLuint buffersize;
GLfloat acc_scale;

+ 5
- 6
src/mesa/main/accum.h View File

@@ -1,4 +1,4 @@
/* $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
@@ -25,9 +25,6 @@
*/





#ifndef ACCUM_H
#define ACCUM_H

@@ -35,10 +32,12 @@
#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

+ 3
- 3
src/mesa/main/buffers.c View File

@@ -1,4 +1,4 @@
/* $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
@@ -293,7 +293,7 @@ _mesa_Clear( GLbitfield mask )
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 );
}

@@ -556,7 +556,7 @@ _mesa_ResizeBuffersMESA( void )
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 );

Loading…
Cancel
Save