3 <TITLE>Mesa glFBDev Driver
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
9 <center><H1>Mesa glFBDev Driver
</H1></center>
12 <H1>1. Introduction
</H1>
15 The GLFBDev driver interface allows one to do OpenGL rendering into a
16 framebuffer managed with the Linux's fbdev interface.
20 Basically, the programmer uses the fbdev functions to initialize the
21 graphics hardware and setup the framebuffer.
22 Then, using a calls to Mesa's glFBDev API functions, one can render
23 into the framebuffer with the OpenGL API functions.
27 Note, only software rendering is supported; there is no hardware
33 The GL/glfbdev.h header file defines the glFBDev interface.
37 The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
41 For more information about fbdev, see the
42 <a href=
"http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target=
"_parent">
47 <h1>2. Compilation
</h1>
50 To compile Mesa with support for the glFBDev interface:
56 When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
64 <h1>3. Compiling and linking glFBDev programs
</h1>
72 <h1>4. Running glFBDev programs
</h1>
75 First, you need to have a working fbdev environment.
77 <a href=
"http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target=
"_parent">
78 Framebuffer Howto
</a> for information.
82 Programs must be run with root permission.