3 <TITLE>Mesa glFBDev Driver
</TITLE>
5 <BODY text=
"#000000" bgcolor=
"#55bbff" link=
"#111188">
7 <center><H1>Mesa glFBDev Driver
</H1></center>
10 <H1>1. Introduction
</H1>
13 The GLFBDev driver interface allows one to do OpenGL rendering into a
14 framebuffer managed with the Linux's fbdev interface.
18 Basically, the programmer uses the fbdev functions to initialize the
19 graphics hardware and setup the framebuffer.
20 Then, using a calls to Mesa's glFBDev API functions, one can render
21 into the framebuffer with the OpenGL API functions.
25 Note, only software rendering is supported; there is no hardware
31 The GL/glfbdev.h header file defines the glFBDev interface.
35 The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
39 For more information about fbdev, see the
40 <a href=
"http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target=
"_parent">
45 <h1>2. Compilation
</h1>
48 To compile Mesa with support for the glFBDev interface:
54 When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
62 <h1>3. Compiling and linking glFBDev programs
</h1>
70 <h1>4. Running glFBDev programs
</h1>
73 First, you need to have a working fbdev environment.
75 <a href=
"http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target=
"_parent">
76 Framebuffer Howto
</a> for information.
80 Programs must be run with root permission.