1
/* $XFree86: xc/lib/GL/mesa/src/drv/r128/r128_tris.h,v 1.8 2002/10/30 12:51:43 alanh Exp $ */
2
/**************************************************************************
4
Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and
5
VA Linux Systems Inc., Fremont, California.
9
Permission is hereby granted, free of charge, to any person obtaining a
10
copy of this software and associated documentation files (the "Software"),
11
to deal in the Software without restriction, including without limitation
12
on the rights to use, copy, modify, merge, publish, distribute, sub
13
license, and/or sell copies of the Software, and to permit persons to whom
14
the Software is furnished to do so, subject to the following conditions:
16
The above copyright notice and this permission notice (including the next
17
paragraph) shall be included in all copies or substantial portions of the
20
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
23
ATI, VA LINUX SYSTEMS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
24
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
25
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
26
USE OR OTHER DEALINGS IN THE SOFTWARE.
28
**************************************************************************/
32
* Keith Whitwell <keith@tungstengraphics.com>
36
#ifndef __R128_TRIS_H__
37
#define __R128_TRIS_H__
41
extern void r128InitTriFuncs( GLcontext *ctx );
44
extern void r128Fallback( GLcontext *ctx, GLuint bit, GLboolean mode );
45
#define FALLBACK( rmesa, bit, mode ) r128Fallback( rmesa->glCtx, bit, mode )
48
#endif /* __R128_TRIS_H__ */