mesa: fix MSVC signed/unsigned warnings in context.c
[mesa.git] / src / mesa / main / buffers.h
index 547fb28886e250295e2b1cdedb60f44c050842c3..8083bc3d353358734fd98f725373aa8c08d7acdd 100644 (file)
@@ -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"),
 #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