The GLFBDev driver interface allows one to do OpenGL rendering into a framebuffer managed with the Linux's fbdev interface.
Basically, the programmer uses the fbdev functions to initialize the graphics hardware and setup the framebuffer. Then, using a calls to Mesa's glFBDev API functions, one can render into the framebuffer with the OpenGL API functions.
Note, only software rendering is supported; there is no hardware acceleration.
The GL/glfbdev.h header file defines the glFBDev interface.
The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
For more information about fbdev, see the Framebuffer Howto
To compile Mesa with support for the glFBDev interface:
XXX todo
When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
xxx todoxxx todo
First, you need to have a working fbdev environment. See the Framebuffer Howto for information.
Programs must be run with root permission.