diff options
author | Brian Paul <[email protected]> | 2005-09-13 04:42:09 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-13 04:42:09 +0000 |
commit | 878c371e6cf6eb28afacc482d8aeaa0119f00d5b (patch) | |
tree | 61c5d8f5e55e426e51a8601566e2a6a71ebf7415 /src/mesa/drivers/glide | |
parent | 42c34efd23d7ad05df9f3c71f7d52dd259e179d8 (diff) |
Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 6 | ||||
-rw-r--r-- | src/mesa/drivers/glide/fxdrv.h | 6 | ||||
-rw-r--r-- | src/mesa/drivers/glide/fxsetup.c | 8 |
3 files changed, 11 insertions, 9 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 4e9df208bf4..1614a7a43a7 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -2170,9 +2170,9 @@ fxSetupDDPointers(GLcontext * ctx) ctx->Driver.ShadeModel = fxDDShadeModel; ctx->Driver.Enable = fxDDEnable; if (fxMesa->haveHwStencil) { - ctx->Driver.StencilFunc = fxDDStencilFunc; - ctx->Driver.StencilMask = fxDDStencilMask; - ctx->Driver.StencilOp = fxDDStencilOp; + ctx->Driver.StencilFuncSeparate = fxDDStencilFuncSeparate; + ctx->Driver.StencilMaskSeparate = fxDDStencilMaskSeparate; + ctx->Driver.StencilOpSeparate = fxDDStencilOpSeparate; } fxSetupDDSpanPointers(ctx); diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h index ca3bdc99b55..240428c06d7 100644 --- a/src/mesa/drivers/glide/fxdrv.h +++ b/src/mesa/drivers/glide/fxdrv.h @@ -642,9 +642,9 @@ extern void fxDDBlendFuncSeparate(GLcontext *, GLenum, GLenum, GLenum, GLenum); extern void fxDDBlendEquationSeparate(GLcontext *, GLenum, GLenum); extern void fxDDDepthMask(GLcontext *, GLboolean); extern void fxDDDepthFunc(GLcontext *, GLenum); -extern void fxDDStencilFunc (GLcontext *ctx, GLenum func, GLint ref, GLuint mask); -extern void fxDDStencilMask (GLcontext *ctx, GLuint mask); -extern void fxDDStencilOp (GLcontext *ctx, GLenum sfail, GLenum zfail, GLenum zpass); +extern void fxDDStencilFuncSeparate (GLcontext *ctx, GLenum face, GLenum func, GLint ref, GLuint mask); +extern void fxDDStencilMaskSeparate (GLcontext *ctx, GLenum face, GLuint mask); +extern void fxDDStencilOpSeparate (GLcontext *ctx, GLenum face, GLenum sfail, GLenum zfail, GLenum zpass); extern void fxDDInitExtensions(GLcontext * ctx); diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c index 360a42f7e8b..240e5e0b597 100644 --- a/src/mesa/drivers/glide/fxsetup.c +++ b/src/mesa/drivers/glide/fxsetup.c @@ -1681,7 +1681,8 @@ static GrStencil_t convertGLStencilOp( GLenum op ) } void -fxDDStencilFunc (GLcontext *ctx, GLenum func, GLint ref, GLuint mask) +fxDDStencilFuncSeparate (GLcontext *ctx, GLenum face, GLenum func, + GLint ref, GLuint mask) { fxMesaContext fxMesa = FX_CONTEXT(ctx); tfxUnitsState *us = &fxMesa->unitsState; @@ -1705,7 +1706,7 @@ fxDDStencilFunc (GLcontext *ctx, GLenum func, GLint ref, GLuint mask) } void -fxDDStencilMask (GLcontext *ctx, GLuint mask) +fxDDStencilMaskSeparate (GLcontext *ctx, GLenum face, GLuint mask) { fxMesaContext fxMesa = FX_CONTEXT(ctx); tfxUnitsState *us = &fxMesa->unitsState; @@ -1721,7 +1722,8 @@ fxDDStencilMask (GLcontext *ctx, GLuint mask) } void -fxDDStencilOp (GLcontext *ctx, GLenum sfail, GLenum zfail, GLenum zpass) +fxDDStencilOpSeparate (GLcontext *ctx, GLenum face, GLenum sfail, + GLenum zfail, GLenum zpass) { fxMesaContext fxMesa = FX_CONTEXT(ctx); tfxUnitsState *us = &fxMesa->unitsState; |