README.DirectFB
changeset 2815 e759ad5e6f43
parent 2791 8133d1d278da
child 2998 d364ee9b9c15
     1.1 --- a/README.DirectFB	Mon Dec 01 00:07:45 2008 +0000
     1.2 +++ b/README.DirectFB	Mon Dec 01 00:10:49 2008 +0000
     1.3 @@ -5,13 +5,45 @@
     1.4  - Hardware YUV overlays
     1.5  - OpenGL - software only
     1.6  - 2D/3D accelerations (depends on directfb driver)
     1.7 +- multiple displays
     1.8 +- windows
     1.9  
    1.10  What you need:
    1.11  
    1.12 -DirectFB 1.0.0 - required
    1.13 +DirectFB 1.0.1, 1.2.x, 1.3.0
    1.14  Kernel-Framebuffer support: required: vesafb, radeonfb .... 
    1.15  Mesa 7.0.x	   - optional for OpenGL
    1.16  
    1.17 +/etc/directfbrc
    1.18 +
    1.19 +This file should contain the following lines to make
    1.20 +your joystick work and avoid crashes:
    1.21 +------------------------
    1.22 +disable-module=joystick
    1.23 +disable-module=linux_input
    1.24 +disable-module=cle266
    1.25 +disable-module=cyber5k
    1.26 +disable-module=x11input
    1.27 +------------------------
    1.28 +
    1.29 +To use hardware accelerated YUV-overlays for YUV-textures, use:
    1.30 +
    1.31 +export SDL_DIRECTFB_YUV_DIRECT=1
    1.32 +
    1.33 +This is disabled by default. It will only support one 
    1.34 +YUV texture, namely the first. Every other YUV texture will be
    1.35 +rendered in software.
    1.36 +
    1.37 +In addition, you may use (directfb-1.2.x)
    1.38 +
    1.39 +export SDL_DIRECTFB_YUV_UNDERLAY=1
    1.40 +
    1.41 +to make the YUV texture an underlay. This will make the cursor to
    1.42 +be shown.
    1.43 +
    1.44 +OPENGL Support
    1.45 +==============
    1.46 +
    1.47  As of this writing 20070810 you need to pull Mesa from git and do the following:
    1.48  
    1.49  ------------------------
    1.50 @@ -19,7 +51,7 @@
    1.51  make linux-directfb
    1.52  make
    1.53  
    1.54 -echo Installing - pleaser enter sudo pw.
    1.55 +echo Installing - please enter sudo pw.
    1.56  
    1.57  sudo make install INSTALL_DIR=/usr/local/dfb_GL
    1.58  cd src/mesa/drivers/directfb
    1.59 @@ -27,15 +59,6 @@
    1.60  sudo make install INSTALL_DIR=/usr/local/dfb_GL
    1.61  ------------------------
    1.62  
    1.63 -/etc/directfbrc
    1.64 -
    1.65 -This file should contain the following two lines to make
    1.66 -your joystick work:
    1.67 -------------------------
    1.68 -disable-module=joystick
    1.69 -disable-module=linux_input
    1.70 -------------------------
    1.71 -
    1.72  To run the SDL - testprograms:
    1.73  
    1.74  export SDL_VIDEODRIVER=directfb
    1.75 @@ -43,19 +66,3 @@
    1.76  export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
    1.77  
    1.78  ./testgl
    1.79 -
    1.80 -To use hardware accelerated YUV-overlays for YUV-textures, use:
    1.81 -
    1.82 -export SDL_DIRECTFB_YUV_DIRECT=1
    1.83 -
    1.84 -This is disabled by default. It will only support one 
    1.85 -YUV texture, namely the first. Every other YUV texture will be
    1.86 -rendered in software.
    1.87 -
    1.88 -In addition, you may use 
    1.89 -
    1.90 -export SDL_DIRECTFB_YUV_UNDERLAY=1
    1.91 -
    1.92 -to make the YUV texture an underlay. This will make the cursor to
    1.93 -be shown.
    1.94 -