Subversion Repositories shark

Rev

Rev 1139 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1134 giacomo 1
--------------------------------------
2
MESA Demo (reflect)
3
 
4
by
5
 
6
Giacomo Guidi	<giacomo@gandalf.sssup.it>
7
 
8
Last update 17/03/2003
9
--------------------------------------
10
 
11
This is a simple test demo for the MESA (5.0)
12
libraries, the low level graphic drivers is
13
the SVGA (from the SVGAlib)
14
 
15
The cards actually supported are:
16
 
17
GEFORCE TNT TNT2 - driver name NV3
18
RAGE128 RADEON - driver name R128
19
SAVAGE VIRGE - driver neme SAVAGE
20
 
21
--------------------------------------
22
 
23
The demo is composed by:
24
 
25
MAKEFILE     The makefile used to compile the application
26
README.TXT   This file
27
INITFILE.C   The init file
28
MESAREF.C   The MESA Demo
29
 
30
--------------------------------------
31
 
32
- To specify your card change the line
33
 
34
#define CARD <driver name>
35
 
36
- The demo calls the grx and off-screen Mesa functions.
37
The resolution must be 16 bitsperpixel (64K colors) and
38
the graphic access mode must be linear.
39
 
40
- There are two buffers
41
 
42
	The video buffer (video_buf)
43
	The virtual buffer (rgb_565_buf)
44
 
45
	copy_videomem_16to16 links these buffers
46
 
47
 
48