From 99cfc4ecbcefb73ce0e2f99d2c802175c1e791d9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 6 Dec 2003 17:26:50 +0000 Subject: Basic info about the glFBDev interface/driver. --- docs/contents.html | 1 + docs/glfbdev-driver.html | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 docs/glfbdev-driver.html (limited to 'docs') diff --git a/docs/contents.html b/docs/contents.html index a0459e4feb..ae11444fbe 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 0000000000..804b2c11b9 --- /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. +

    + +

    + + + + + -- cgit v1.2.3