X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fbuffers.h;h=8083bc3d353358734fd98f725373aa8c08d7acdd;hb=406df38a6673cb7d19ce652f71fac1047b2279d0;hp=547fb28886e250295e2b1cdedb60f44c050842c3;hpb=1d43e729ec94217f3b742be481c753a8eaa65ea3;p=mesa.git diff --git a/src/mesa/main/buffers.h b/src/mesa/main/buffers.h index 547fb28886e..8083bc3d353 100644 --- a/src/mesa/main/buffers.h +++ b/src/mesa/main/buffers.h @@ -5,9 +5,9 @@ /* * Mesa 3-D graphics library - * Version: 6.5 + * Version: 7.1 * - * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2007 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"), @@ -33,18 +33,9 @@ #define BUFFERS_H -#include "mtypes.h" +#include "glheader.h" - -extern void GLAPIENTRY -_mesa_ClearIndex( GLfloat c ); - -extern void GLAPIENTRY -_mesa_ClearColor( GLclampf red, GLclampf green, - GLclampf blue, GLclampf alpha ); - -extern void GLAPIENTRY -_mesa_Clear( GLbitfield mask ); +struct gl_context; extern void GLAPIENTRY _mesa_DrawBuffer( GLenum mode ); @@ -53,29 +44,18 @@ extern void GLAPIENTRY _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers); extern void -_mesa_drawbuffers(GLcontext *ctx, GLsizei n, const GLenum *buffers, +_mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers, const GLbitfield *destMask); -extern void GLAPIENTRY -_mesa_ReadBuffer( GLenum mode ); +extern void +_mesa_readbuffer(struct gl_context *ctx, GLenum buffer, GLint bufferIndex); -extern void GLAPIENTRY -_mesa_ResizeBuffersMESA( void ); +extern void +_mesa_update_draw_buffers(struct gl_context *ctx); -extern void GLAPIENTRY -_mesa_Scissor( GLint x, GLint y, GLsizei width, GLsizei height ); extern void GLAPIENTRY -_mesa_SampleCoverageARB(GLclampf value, GLboolean invert); - -extern void -_mesa_init_scissor(GLcontext *ctx); - -extern void -_mesa_init_multisample(GLcontext *ctx); - -extern void _mesa_set_scissor( GLcontext *ctx, - GLint x, GLint y, GLsizei width, GLsizei height ); +_mesa_ReadBuffer( GLenum mode ); #endif