summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/tdfx/fxsetup.h
blob: 650392a1101b862cede5dc40127b0099c29e1bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef FXSETUP_H
#define FXSETUP_H


extern void fxDDEnable(GLcontext *, GLenum, GLboolean);

extern void fxDDAlphaFunc(GLcontext *, GLenum, GLclampf);

extern void fxDDBlendFunc(GLcontext *, GLenum, GLenum);

extern void fxDDBlendFuncSeparate(GLcontext *ctx,
                                  GLenum sfactorRGB, GLenum sfactorA,
                                  GLenum dfactorRGB, GLenum dfactorA);

extern GrStencil_t fxConvertGLStencilOp(GLenum op);

extern void fxDDScissor(GLcontext *ctx,
                        GLint x, GLint y, GLsizei w, GLsizei h);

extern void fxDDFogfv(GLcontext *ctx, GLenum pname, const GLfloat * params);

extern GLboolean fxDDColorMask(GLcontext *ctx,
                               GLboolean r, GLboolean g,
                               GLboolean b, GLboolean a);

extern void fxDDShadeModel(GLcontext * ctx, GLenum mode);

extern void fxDDCullFace(GLcontext * ctx, GLenum mode);

extern void fxDDFrontFace(GLcontext * ctx, GLenum mode);

extern void fxSetupFXUnits(GLcontext *);

#endif