summaryrefslogtreecommitdiff
path: root/README.DirectFB
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2010-08-16 09:04:55 -0700
committerSam Lantinga <slouken@libsdl.org>2010-08-16 09:04:55 -0700
commit819cc95139589c48bedfe129b40bd7b3ad81a638 (patch)
treeb7b60d7b27fcc610abe93e95f16fdb00334b0348 /README.DirectFB
parentf0de16c63ed0fbb6784964dc2d17cc61311f697a (diff)
Couriersud to Sam
Hi Sam, 20100815_1.diff contains updates for the directfb driver: - more documentation, mainly on software OpenGL in README.directfb - Revised error handling leading to leaner code - Improved/fixed OpenGL handling of multiple contexts. - Made the built-in simple window manager handle OpenGL windows. - Rewrote pixelformat mapping - this was quite ugly before. Well, all software GL, but working :-)
Diffstat (limited to 'README.DirectFB')
-rw-r--r--README.DirectFB19
1 files changed, 18 insertions, 1 deletions
diff --git a/README.DirectFB b/README.DirectFB
index 63b70522..f63eadaf 100644
--- a/README.DirectFB
+++ b/README.DirectFB
@@ -65,10 +65,26 @@ you need to have the following font installed:
OPENGL Support
==============
-As of this writing 20070810 you need to pull Mesa from git and do the following:
+The following instructions will give you *software* opengl. However this
+works at least on all directfb supported platforms.
+
+As of this writing 20100802 you need to pull Mesa from git and do the following:
------------------------
+git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a
cd mesa
+git clone git://anongit.freedesktop.org/git/mesa/mesa
+------------------------
+
+Edit configs/linux-directfb so that the Directories-section looks like
+------------------------
+# Directories
+SRC_DIRS = mesa glu
+GLU_DIRS = sgi
+DRIVER_DIRS = directfb
+PROGRAM_DIRS =
+------------------------
+
make linux-directfb
make
@@ -87,3 +103,4 @@ export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
./testgl
+