Mercurial > sdl-ios-xcode
comparison README.DirectFB @ 4636:b196d2758026
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 :-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 16 Aug 2010 09:04:55 -0700 |
parents | d72a0dd80e8b |
children | 164f20ba08eb |
comparison
equal
deleted
inserted
replaced
4635:0a07d002f10b | 4636:b196d2758026 |
---|---|
63 /usr/share/fonts/truetype/freefont/FreeSans.ttf | 63 /usr/share/fonts/truetype/freefont/FreeSans.ttf |
64 | 64 |
65 OPENGL Support | 65 OPENGL Support |
66 ============== | 66 ============== |
67 | 67 |
68 As of this writing 20070810 you need to pull Mesa from git and do the following: | 68 The following instructions will give you *software* opengl. However this |
69 works at least on all directfb supported platforms. | |
70 | |
71 As of this writing 20100802 you need to pull Mesa from git and do the following: | |
69 | 72 |
70 ------------------------ | 73 ------------------------ |
74 git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a | |
71 cd mesa | 75 cd mesa |
76 git clone git://anongit.freedesktop.org/git/mesa/mesa | |
77 ------------------------ | |
78 | |
79 Edit configs/linux-directfb so that the Directories-section looks like | |
80 ------------------------ | |
81 # Directories | |
82 SRC_DIRS = mesa glu | |
83 GLU_DIRS = sgi | |
84 DRIVER_DIRS = directfb | |
85 PROGRAM_DIRS = | |
86 ------------------------ | |
87 | |
72 make linux-directfb | 88 make linux-directfb |
73 make | 89 make |
74 | 90 |
75 echo Installing - please enter sudo pw. | 91 echo Installing - please enter sudo pw. |
76 | 92 |
85 export SDL_VIDEODRIVER=directfb | 101 export SDL_VIDEODRIVER=directfb |
86 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib | 102 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib |
87 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7 | 103 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7 |
88 | 104 |
89 ./testgl | 105 ./testgl |
106 |