summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/ffb/ffb_tris.h
blob: 116b8e07f15b2326e723e5429536f1550288e241 (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

#ifndef _FFB_TRIS_H
#define _FFB_TRIS_H

extern void ffbDDInitRenderFuncs( GLcontext *ctx );


#define _FFB_NEW_RENDER (_DD_NEW_TRI_LIGHT_TWOSIDE |	\
			 _DD_NEW_TRI_OFFSET |		\
			 _DD_NEW_TRI_UNFILLED)

extern void ffbChooseRenderState(GLcontext *ctx);


#define _FFB_NEW_TRIANGLE (_DD_NEW_TRI_SMOOTH |	\
			   _DD_NEW_FLATSHADE |	\
			   _NEW_POLYGON | 	\
			   _NEW_COLOR)

extern void ffbChooseTriangleState(GLcontext *ctx);

extern void ffbFallback( GLcontext *ctx, GLuint bit, GLboolean mode );
#define FALLBACK( ctx, bit, mode ) ffbFallback( ctx, bit, mode )

#endif /* !(_FFB_TRIS_H) */