README.DirectFB
changeset 2791 8133d1d278da
parent 2226 0e70b4b8cf84
child 2815 e759ad5e6f43
equal deleted inserted replaced
2790:8c9fa61a521c 2791:8133d1d278da
    25 cd src/mesa/drivers/directfb
    25 cd src/mesa/drivers/directfb
    26 make
    26 make
    27 sudo make install INSTALL_DIR=/usr/local/dfb_GL
    27 sudo make install INSTALL_DIR=/usr/local/dfb_GL
    28 ------------------------
    28 ------------------------
    29 
    29 
       
    30 /etc/directfbrc
       
    31 
       
    32 This file should contain the following two lines to make
       
    33 your joystick work:
       
    34 ------------------------
       
    35 disable-module=joystick
       
    36 disable-module=linux_input
       
    37 ------------------------
       
    38 
    30 To run the SDL - testprograms:
    39 To run the SDL - testprograms:
    31 
    40 
    32 export SDL_VIDEODRIVER=directfb
    41 export SDL_VIDEODRIVER=directfb
    33 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
    42 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
    34 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
    43 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
    37 
    46 
    38 To use hardware accelerated YUV-overlays for YUV-textures, use:
    47 To use hardware accelerated YUV-overlays for YUV-textures, use:
    39 
    48 
    40 export SDL_DIRECTFB_YUV_DIRECT=1
    49 export SDL_DIRECTFB_YUV_DIRECT=1
    41 
    50 
    42 This is disabled by default. It will only support one concurrent 
    51 This is disabled by default. It will only support one 
    43 overlay and may behave strange if not used with SDL_CreateYUvOverlay
    52 YUV texture, namely the first. Every other YUV texture will be
    44 from SDLcompat.c. 
    53 rendered in software.
    45  
    54 
       
    55 In addition, you may use 
       
    56 
       
    57 export SDL_DIRECTFB_YUV_UNDERLAY=1
       
    58 
       
    59 to make the YUV texture an underlay. This will make the cursor to
       
    60 be shown.
       
    61