Subversion Repositories shark

Rev

Rev 1135 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1134 giacomo 1
--------------------------------------
2
MESA Demo (tex)
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
 
1154 giacomo 15
See drivers/svga/readme for supported cards
1134 giacomo 16
 
17
--------------------------------------
18
 
19
The demo is composed by:
20
 
21
MAKEFILE     The makefile used to compile the application
22
README.TXT   This file
23
INITFILE.C   The init file
1135 giacomo 24
MESATEX.C    The MESA Demo
1134 giacomo 25
 
26
--------------------------------------
27
 
28
- To specify your card change the line
29
 
30
#define CARD <driver name>
31
 
32
- The demo calls the grx and off-screen Mesa functions.
33
The resolution must be 16 bitsperpixel (64K colors) and
34
the graphic access mode must be linear.
35
 
36
- There are two buffers
37
 
38
	The video buffer (video_buf)
39
	The virtual buffer (rgb_565_buf)
40
 
41
	copy_videomem_16to16 links these buffers
42
 
43
 
44