From 663631725ee2d633d9ec5821cd48953ffd188d00 Mon Sep 17 00:00:00 2001 From: ftrapero Date: Tue, 27 Jun 2017 12:08:38 +0200 Subject: Squashed 'nx-X11/extras/Mesa_6.4.2/' content from commit 475b1f7 git-subtree-dir: nx-X11/extras/Mesa_6.4.2 git-subtree-split: 475b1f7b56fa36ef4f3b22a749f88a98ddc0d502 --- docs/glfbdev-driver.html | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/glfbdev-driver.html (limited to 'docs/glfbdev-driver.html') diff --git a/docs/glfbdev-driver.html b/docs/glfbdev-driver.html new file mode 100644 index 000000000..b49950eb9 --- /dev/null +++ b/docs/glfbdev-driver.html @@ -0,0 +1,90 @@ + + +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