6 - Hardware YUV overlays
7 - OpenGL - software only
8 - 2D/3D accelerations (depends on directfb driver)
14 * DirectFB 1.0.1, 1.2.
x, 1.3.0
15 * Kernel-Framebuffer support: required: vesafb, radeonfb ....
16 * Mesa 7.0.
x - optional
for OpenGL
20 This file should contain the following
lines to make
21 your joystick work and avoid crashes:
22 ------------------------
23 disable-module=joystick
25 disable-module=cyber5k
27 ------------------------
29 To disable to use x11 backend when DISPLAY
variable is found use
31 export SDL_DIRECTFB_X11_CHECK=0
33 To disable the use of linux
input devices,
i.e. multimice/multikeyboard support,
36 export SDL_DIRECTFB_LINUX_INPUT=0
38 To use hardware accelerated YUV-overlays
for YUV-
textures, use:
40 export SDL_DIRECTFB_YUV_DIRECT=1
42 This is disabled
by default. It will only support
one
46 In addition, you may use (directfb-1.2.
x)
48 export SDL_DIRECTFB_YUV_UNDERLAY=1
50 to make the YUV
texture an underlay. This will make the
cursor to
56 The driver has support for
a very, very basic
window manager you may
57 want to use when running with "wm=default". Use
59 export SDL_DIRECTFB_WM=1
62 you need to have the following font installed:
64 /usr/share/fonts/truetype/freefont/FreeSans.ttf
69 The following instructions will give you *software* OpenGL. However this
70 works at least on all directfb supported platforms.
72 As of this writing 20100802 you need to pull Mesa from git and do the following:
74 ------------------------
77 git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a
78 ------------------------
80 Edit configs/linux-directfb so that the Directories-section looks like
81 ------------------------
85 DRIVER_DIRS = directfb
87 ------------------------
92 echo Installing - please enter sudo pw.
94 sudo make install INSTALL_DIR=/usr/local/dfb_GL
95 cd
src/mesa/drivers/directfb
97 sudo make install INSTALL_DIR=/usr/local/dfb_GL
98 ------------------------
100 To run the SDL - testprograms:
102 export SDL_VIDEODRIVER=directfb
103 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
104 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
GLint GLint GLint GLint GLint x
GLfixed GLfixed GLint GLint order
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int in i)
GLenum GLenum GLuint texture
GLenum GLenum GLenum input
SDL_Rect lines[MAX_LINES]
EGLSurface EGLNativeWindowType * window
GLboolean GLboolean GLboolean GLboolean a
GLsizei const GLuint * textures