File: README

package info (click to toggle)
libggi 1%3A2.0.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,072 kB
  • ctags: 5,274
  • sloc: ansic: 42,720; sh: 6,508; makefile: 666
file content (103 lines) | stat: -rw-r--r-- 3,592 bytes parent folder | download
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
LibGGI README
=============

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
GGI Kernel Graphics Interface, 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.

Targets
=======

Targets are devices which LibGGI can render to.  See doc/targets.txt for more
details.

	+ fbdev: fbcon framebuffer devices, DirectFB, and kgicon
	+ vcsa: Linux text console

	+ X: X Window System
	+ Xlib: X Window alternate method; uses X for primitives
	+ XF86DGA: XFree86 server Direct Graphics Access

	+ AA: AAlib, an ASCII-Art renderer
	+ GLIDE: 3Dfx
	+ SVGAlib: SUID root console graphics library
	+ Terminfo: GGI textmodes on terminals

	+ MonoText: emulate 8-bit visual on text-only visual (like AAlib)
	+ TrueEmu: emulate true-color (24-bit) on visual of any other depth
	+ PalEmu: emulate indexed-color on true-color visuals.

	+ file: write to a file
	+ memory: off-screen memory
	+ IPC: shared memory segment for inter-process use.

	+ multi: display on multiple targets at once
	+ Tile: display in multiple visuals each showing a component part
	+ Sub-target: Visual-within-a-visual

	+ Tele: remote LibGGI
	+ suidkgi: use KGI drivers in userspace, setuid root


Requirements
============

* LibGG 0.7 or later (included in LibGII).
* LibGII 0.8 or later.
* Most likely GNU Make.
* Fbcon Linux kernel if using display-fbdev target.
* DirectFB binary drivers for acceleration of fbdev target.
* X Window System if using display-X/Xlib target.
* XFree86 if using display-DGA target.
* VGL library if using display-vgl target.
* other libraries for other targets, such as aalib and SVGAlib.


How to install and use
======================

See the files INSTALL and INSTALL.autoconf for installation instructions.

Demos and some utilities are found in the programs/demos and programs/util
directories respectively. They are built automatically.

LibGGI will automatically default to the most suitable display target (the
method through which LibGGI displays on). However, this can be overridden
using the GGI_DISPLAY environment variable, set to the name of the display
target, plus any additional arguments.  Please see doc/env.txt for more
details on environment variables. You might also want to have a look at
the doc/env.txt file in the LibGII distribution, as LibGGI uses LibGII for
input.

For a list of available targets see the HTML documentation, 
distributed separately, or the display-* manpages or doc/targets.txt. 
If you intend to use any of the Linux console based targets (fbdev, 
SVGAlib, Glide, vcsa) you should also read the section on input-linux-mouse 
or input-linux-evdev in the doc/inputs.txt file in the LibGII distribution.


The GGI mailing lists
=====================

There are several mailing lists available for discussion of GGI-related
topics. Please see http://www.ggi-project.org/mailinglist.html for more info.


GGI resources
=============

Web site: http://www.ggi-project.org/
FTP site: ftp://ftp.ggi-project.org/pub/ggi

XGGI home: http://www.stacken.kth.se/~mackan/ggi/xggi/
(XGGI is an X server which runs on LibGGI)