blob: b49950eb9e1bb144b40329df62df26f182ca29bc [file] [log] [blame]
Brian Paul99cfc4e2003-12-06 17:26:50 +00001<HTML>
2
3<TITLE>Mesa glFBDev Driver</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul99cfc4e2003-12-06 17:26:50 +00008
9<center><H1>Mesa glFBDev Driver</H1></center>
10
11
12<H1>1. Introduction</H1>
13
14<p>
15The GLFBDev driver interface allows one to do OpenGL rendering into a
16framebuffer managed with the Linux's fbdev interface.
17</p>
18
19<p>
20Basically, the programmer uses the fbdev functions to initialize the
21graphics hardware and setup the framebuffer.
22Then, using a calls to Mesa's glFBDev API functions, one can render
23into the framebuffer with the OpenGL API functions.
24</p>
25
26<p>
27Note, only software rendering is supported; there is no hardware
28acceleration.
29</p>
30
31
32<p>
33The GL/glfbdev.h header file defines the glFBDev interface.
34</p>
35
36<p>
37The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
38</p>
39
40<p>
41For more information about fbdev, see the
42<a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
43Framebuffer Howto</a>
44</p>
45
46
47<h1>2. Compilation</h1>
48
49<p>
50To compile Mesa with support for the glFBDev interface:
51<pre>
52 XXX todo
53</pre>
54
55<p>
56When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
57</p>
58
59</p>
60xxx todo
61</p>
62
63
64<h1>3. Compiling and linking glFBDev programs</h1>
65
66<p>
67xxx todo
68</p>
69
70
71
72<h1>4. Running glFBDev programs</h1>
73
74<p>
75First, you need to have a working fbdev environment.
76See the
77<a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
78Framebuffer Howto</a> for information.
79</p>
80
81<p>
82Programs must be run with root permission.
83</p>
84
85</p>
86
87
88
89</body>
90</html>