README.DirectFB
changeset 2226 0e70b4b8cf84
child 2791 8133d1d278da
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/README.DirectFB	Sat Aug 11 21:51:19 2007 +0000
     1.3 @@ -0,0 +1,45 @@
     1.4 +SDL on DirectFB
     1.5 +
     1.6 +Supports:
     1.7 +
     1.8 +- Hardware YUV overlays
     1.9 +- OpenGL - software only
    1.10 +- 2D/3D accelerations (depends on directfb driver)
    1.11 +
    1.12 +What you need:
    1.13 +
    1.14 +DirectFB 1.0.0 - required
    1.15 +Kernel-Framebuffer support: required: vesafb, radeonfb .... 
    1.16 +Mesa 7.0.x	   - optional for OpenGL
    1.17 +
    1.18 +As of this writing 20070810 you need to pull Mesa from git and do the following:
    1.19 +
    1.20 +------------------------
    1.21 +cd mesa 
    1.22 +make linux-directfb
    1.23 +make
    1.24 +
    1.25 +echo Installing - pleaser enter sudo pw.
    1.26 +
    1.27 +sudo make install INSTALL_DIR=/usr/local/dfb_GL
    1.28 +cd src/mesa/drivers/directfb
    1.29 +make
    1.30 +sudo make install INSTALL_DIR=/usr/local/dfb_GL
    1.31 +------------------------
    1.32 +
    1.33 +To run the SDL - testprograms:
    1.34 +
    1.35 +export SDL_VIDEODRIVER=directfb
    1.36 +export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
    1.37 +export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
    1.38 +
    1.39 +./testgl
    1.40 +
    1.41 +To use hardware accelerated YUV-overlays for YUV-textures, use:
    1.42 +
    1.43 +export SDL_DIRECTFB_YUV_DIRECT=1
    1.44 +
    1.45 +This is disabled by default. It will only support one concurrent 
    1.46 +overlay and may behave strange if not used with SDL_CreateYUvOverlay
    1.47 +from SDLcompat.c. 
    1.48 +