diff options
author | Brian Paul <[email protected]> | 2002-09-06 02:56:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-09-06 02:56:08 +0000 |
commit | 5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f (patch) | |
tree | 5ff6600c6ca0fba4999197e38ff0b9759638cdd3 /src/mesa/main/dd.h | |
parent | a2ae6faf1a853655ac6c58b80a7dc3b1811a8740 (diff) |
GL_EXT_stencil_two_side extension, not 100% complete yet.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 81ae9e4a125..fcf0ceeb0de 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.70 2002/07/09 01:22:50 brianp Exp $ */ +/* $Id: dd.h,v 1.71 2002/09/06 02:56:08 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -458,14 +458,22 @@ struct dd_function_table { *** They're ALSO called by the gl_PopAttrib() function!!! *** May add more functions like these to the device driver in the future. ***/ +#if 1 void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLchan ref); +#else + void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref); +#endif void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]); void (*BlendEquation)(GLcontext *ctx, GLenum mode); void (*BlendFunc)(GLcontext *ctx, GLenum sfactor, GLenum dfactor); void (*BlendFuncSeparate)(GLcontext *ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA); +#if 1 void (*ClearColor)(GLcontext *ctx, const GLchan color[4]); +#else + void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]); +#endif void (*ClearDepth)(GLcontext *ctx, GLclampd d); void (*ClearIndex)(GLcontext *ctx, GLuint index); void (*ClearStencil)(GLcontext *ctx, GLint s); @@ -500,6 +508,7 @@ struct dd_function_table { void (*StencilFunc)(GLcontext *ctx, GLenum func, GLint ref, GLuint mask); void (*StencilMask)(GLcontext *ctx, GLuint mask); void (*StencilOp)(GLcontext *ctx, GLenum fail, GLenum zfail, GLenum zpass); + void (*ActiveStencilFace)(GLcontext *ctx, GLuint face); void (*TexGen)(GLcontext *ctx, GLenum coord, GLenum pname, const GLfloat *params); void (*TexEnv)(GLcontext *ctx, GLenum target, GLenum pname, |