mesa: plug in GL_ARB_draw_buffers_blend functions
[mesa.git] / src / mesa / main / stencil.h
index 41b9a72464e52ba60c252af5674e84a6f5815935..b772bfd6e6f66c7391cdcb77bde874360812a64e 100644 (file)
@@ -1,10 +1,13 @@
-/* $Id: stencil.h,v 1.10 2002/09/06 02:56:09 brianp Exp $ */
+/**
+ * \file stencil.h
+ * Stencil operations.
+ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  4.1
+ * Version:  7.1
  *
- * Copyright (C) 1999-2002  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 STENCIL_H
 
 
-#include "mtypes.h"
+#include "glheader.h"
 
+struct gl_context;
 
-extern void
+extern void GLAPIENTRY
 _mesa_ClearStencil( GLint s );
 
 
-extern void
+extern void GLAPIENTRY
 _mesa_StencilFunc( GLenum func, GLint ref, GLuint mask );
 
 
-extern void
+extern void GLAPIENTRY
 _mesa_StencilMask( GLuint mask );
 
 
-extern void
+extern void GLAPIENTRY
 _mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
 
 
-extern void
+extern void GLAPIENTRY
 _mesa_ActiveStencilFaceEXT(GLenum face);
 
 
+extern void GLAPIENTRY
+_mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
+
+
+extern void GLAPIENTRY
+_mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
+
+
+extern void GLAPIENTRY
+_mesa_StencilFuncSeparateATI(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+
+extern void GLAPIENTRY
+_mesa_StencilMaskSeparate(GLenum face, GLuint mask);
+
+
+extern void
+_mesa_update_stencil(struct gl_context *ctx);
+
+
+extern void 
+_mesa_init_stencil( struct gl_context * ctx );
+
 #endif