From: Brian Paul Date: Sat, 6 Dec 2003 17:26:50 +0000 (+0000) Subject: Basic info about the glFBDev interface/driver. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99cfc4ecbcefb73ce0e2f99d2c802175c1e791d9;p=mesa.git Basic info about the glFBDev interface/driver. --- diff --git a/docs/contents.html b/docs/contents.html index a0459e4feb2..ae11444fbe2 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -55,6 +55,7 @@
  • Source Documentation
  • Subset Information
  • fbdev/DRI Environment +
  • glFBDev Driver
  • Custom Development diff --git a/docs/glfbdev-driver.html b/docs/glfbdev-driver.html new file mode 100644 index 00000000000..804b2c11b99 --- /dev/null +++ b/docs/glfbdev-driver.html @@ -0,0 +1,88 @@ + + +Mesa glFBDev Driver + + + +

    Mesa glFBDev Driver

    + + +

    1. Introduction

    + +

    +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 +

    + + +

    2. Compilation

    + +

    +To compile Mesa with support for the glFBDev interface: +

    +   XXX todo
    +
    + +

    +When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo. +

    + +

    +xxx todo +

    + + +

    3. Compiling and linking glFBDev programs

    + +

    +xxx todo +

    + + + +

    4. Running glFBDev programs

    + +

    +First, you need to have a working fbdev environment. +See the + +Framebuffer Howto for information. +

    + +

    +Programs must be run with root permission. +

    + +

    + + + + +