summaryrefslogtreecommitdiff
path: root/docs/README.GGI
blob: e28d047732c2045dae95dcd7d544be3a4763d613 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
                       LibGGI driver for Mesa-3.0
		  by Uwe Maurer (uwe_maurer@t-online.de)	


Introduction
============
[from libggi.txt by Steve Cheng and Hartmut Niemann]

 "LibGGI, the dynamic GGI (General Graphics Interface) library is a
  flexible drawing library.

  It provides an opaque interface to the display's acceleration
  functions. It was originally intended to allow user programs to
  interface with KGI, the kernel side of the GGI code, but other display
  types can be easily used by loading the appropriate "display target"
  (e.g. X, memory).

  LibGGI consists of a main library (libggi.so) and a multitude of
  dynamic drivers. The library then loads the necessary "drivers" for
  the requested mode, taking hints from the graphics device if
  necessary. LibGGI can also load extension libraries, e.g. to provide
  enhanced 2D and 3D functions.

  It has been designed after having a look at several existing
  libraries, and so far we have found porting to be quite simple from
  and to most of them."

----------------------------------------------------------------------------

	More information about the GGI project and LibGGI can be 
	obtained from the GGI website:

	www.ggi-project.org

----------------------------------------------------------------------------

Installation
============

	- Install LibGGI
	
	- Unpack the Mesa archives
	
	- In the Mesa directory type:
		
		make linux-ggi
		su
		make linux-ggi-install
		exit
	
	- Now you can try some demos.
	  If they don't work, you can set the GGIMESA_DEBUG
	  variable to 255 and you will see some information from the
	  LibGGI-driver.
		 
	   export GGIMESA_DEBUG=255
	

GLUT
====	

	You can change these default values in ggi/ggiglut.c:
	#define WIDTH   640
	#define HEIGHT  400
	#define GRAPHTYPE_RGB   GT_16BIT
	#define GRAPHTYPE_INDEX GT_8BIT

	Options:
		-bpp x		Set graphic mode with x bits per pixel	
		-size x y	Screen (or window) is x*y pixels 

	Example:
		demos/gears -size 320 200 -bpp 24

Updates
=======
	
	You can find the latest LibGGI-driver and ggiglut on my
	homepage:
	
	http://home.t-online.de/home/uwe_maurer/ggimesa.htm
	
		

Uwe Maurer  -  uwe_maurer@t-online.de

                       LibGGI driver for Mesa-3.0
		  by Uwe Maurer (uwe_maurer@t-online.de)	


Introduction
============
[from libggi.txt by Steve Cheng and Hartmut Niemann]

 "LibGGI, the dynamic GGI (General Graphics Interface) library is a
  flexible drawing library.

  It provides an opaque interface to the display's acceleration
  functions. It was originally intended to allow user programs to
  interface with KGI, the kernel side of the GGI code, but other display
  types can be easily used by loading the appropriate "display target"
  (e.g. X, memory).

  LibGGI consists of a main library (libggi.so) and a multitude of
  dynamic drivers. The library then loads the necessary "drivers" for
  the requested mode, taking hints from the graphics device if
  necessary. LibGGI can also load extension libraries, e.g. to provide
  enhanced 2D and 3D functions.

  It has been designed after having a look at several existing
  libraries, and so far we have found porting to be quite simple from
  and to most of them."

----------------------------------------------------------------------------

	More information about the GGI project and LibGGI can be 
	obtained from the GGI website:

	www.ggi-project.org

----------------------------------------------------------------------------

Installation
============

	- Install LibGGI
	
	- Unpack the Mesa archives
	
	- In the Mesa directory type:
		
		make linux-ggi
		su
		make linux-ggi-install
		exit
	
	- Now you can try some demos.
	  If they don't work, you can set the GGIMESA_DEBUG
	  variable to 255 and you will see some information from the
	  LibGGI-driver.
		 
	   export GGIMESA_DEBUG=255
	

GLUT
====	

	You can change these default values in ggi/ggiglut.c:
	#define WIDTH   640
	#define HEIGHT  400
	#define GRAPHTYPE_RGB   GT_16BIT
	#define GRAPHTYPE_INDEX GT_8BIT

	Options:
		-bpp x		Set graphic mode with x bits per pixel	
		-size x y	Screen (or window) is x*y pixels 

	Example:
		demos/gears -size 320 200 -bpp 24

Updates
=======
	
	You can find the latest LibGGI-driver and ggiglut on my
	homepage:
	
	http://home.t-online.de/home/uwe_maurer/ggimesa.htm
	
		

Uwe Maurer  -  uwe_maurer@t-online.de