Merge commit 'origin/gallium-0.1'
[mesa.git] / src / mesa / drivers / dri / s3v / s3v_tex.h
1 /*
2 * Author: Max Lingua <sunmax@libero.it>
3 */
4
5 #ifndef _S3V_TEX_H
6 #define _S3V_TEX_H
7
8 #define TEX_DEBUG_ON 0
9
10 extern void s3vUpdateTexLRU( s3vContextPtr vmesa, s3vTextureObjectPtr t );
11
12 #if TEX_DEBUG_ON
13 #define DEBUG_TEX(str) printf str
14 #else
15 #define DEBUG_TEX(str) /* str */
16 #endif
17
18 #define _TEXFLUSH 1 /* flush before uploading */
19 #define _TEXLOCK 1 /* lock before writing new texures to card mem */
20 /* if you turn it on you will gain stability and image
21 quality, but you will loose performance (~10%) */
22 #define _TEXFALLBACK 0 /* fallback to software for -big- textures (slow) */
23 /* turning this off, you will lose some tex (e.g. mountains
24 on tuxracer) but you will increase average playability */
25
26 #define _TEXALIGN 0x00000007
27
28 #endif