From 45bc887da226403f2c41077e40ca38b6f60f1359 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Mar 2003 02:23:44 +0000 Subject: replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] --- src/mesa/swrast/s_buffers.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/mesa/swrast/s_buffers.c') diff --git a/src/mesa/swrast/s_buffers.c b/src/mesa/swrast/s_buffers.c index cdb665fc18e..1ee8030cd9d 100644 --- a/src/mesa/swrast/s_buffers.c +++ b/src/mesa/swrast/s_buffers.c @@ -1,4 +1,4 @@ -/* $Id: s_buffers.c,v 1.16 2002/11/13 16:46:19 brianp Exp $ */ +/* $Id: s_buffers.c,v 1.17 2003/03/25 02:23:45 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -66,7 +66,7 @@ clear_color_buffer_with_masking( GLcontext *ctx ) for (j = 0; j < width; j++) { COPY_CHAN4(rgba[j], clearColor); } - _mesa_mask_rgba_array( ctx, width, x, y + i, rgba ); + _swrast_mask_rgba_array( ctx, width, x, y + i, rgba ); (*swrast->Driver.WriteRGBASpan)( ctx, width, x, y + i, (CONST GLchan (*)[4]) rgba, NULL ); } @@ -81,7 +81,7 @@ clear_color_buffer_with_masking( GLcontext *ctx ) for (j=0;jColor.ClearIndex; } - _mesa_mask_index_array( ctx, width, x, y + i, span ); + _swrast_mask_index_array( ctx, width, x, y + i, span ); (*swrast->Driver.WriteCI32Span)( ctx, width, x, y + i, span, mask ); } } @@ -190,16 +190,16 @@ _swrast_Clear( GLcontext *ctx, GLbitfield mask, /* do software clearing here */ if (mask) { if (mask & ctx->Color._DrawDestMask) clear_color_buffers(ctx); - if (mask & GL_DEPTH_BUFFER_BIT) _mesa_clear_depth_buffer(ctx); - if (mask & GL_ACCUM_BUFFER_BIT) _mesa_clear_accum_buffer(ctx); - if (mask & GL_STENCIL_BUFFER_BIT) _mesa_clear_stencil_buffer(ctx); + if (mask & GL_DEPTH_BUFFER_BIT) _swrast_clear_depth_buffer(ctx); + if (mask & GL_ACCUM_BUFFER_BIT) _swarst_clear_accum_buffer(ctx); + if (mask & GL_STENCIL_BUFFER_BIT) _swrast_clear_stencil_buffer(ctx); } /* clear software-based alpha buffer(s) */ if ( (mask & GL_COLOR_BUFFER_BIT) && ctx->DrawBuffer->UseSoftwareAlphaBuffers && ctx->Color.ColorMask[ACOMP]) { - _mesa_clear_alpha_buffers( ctx ); + _swrast_clear_alpha_buffers( ctx ); } RENDER_FINISH(swrast,ctx); @@ -211,16 +211,16 @@ _swrast_alloc_buffers( GLframebuffer *buffer ) { /* Reallocate other buffers if needed. */ if (buffer->UseSoftwareDepthBuffer) { - _mesa_alloc_depth_buffer( buffer ); + _swrast_alloc_depth_buffer( buffer ); } if (buffer->UseSoftwareStencilBuffer) { - _mesa_alloc_stencil_buffer( buffer ); + _swrast_alloc_stencil_buffer( buffer ); } if (buffer->UseSoftwareAccumBuffer) { - _mesa_alloc_accum_buffer( buffer ); + _swrast_alloc_accum_buffer( buffer ); } if (buffer->UseSoftwareAlphaBuffers) { - _mesa_alloc_alpha_buffers( buffer ); + _swrast_alloc_alpha_buffers( buffer ); } } -- cgit v1.2.3