1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Pandora SDL2 Pandora patch

Discussion in 'C /C ++' started by ptitSeb, May 22, 2015.

  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,344
    Location:
    France, near Lyon
    Here is my patch to SDL2, to make it run better on the Pandora.

    Included are:

    • Support for raw screen mode
    • Support for Pandora keymap (could be improved)
    • Ability to Force GLES2 instead of GL (incase you have glshim visible to SDL)
    • New: Support for Nub as Joystick

    To use GLES|2 instead of GL (glshim), use those 2 export: 

    export SDL_VIDEO_GLES2=1
    export SDL_VIDEO_GL_DRIVER=libGLESv2.so


    Here is the patch: 

    SDL_pandora.tar.gz
     

    Attached Files:

    Last edited by a moderator: May 23, 2015
    Tags:
    Farox and sebt3 like this.
  2. edgex004

    edgex004 Advanced Member

    Joined:
    Jan 5, 2008
    Messages:
    1,096
    Awesome!
     
  3. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,759
    Location:
    Ankh-Morpork
    Hi ptitSeb :)

    Thanks for this patch ! Will it go upstream ?

    Cheers, Magic Sam
     
  4. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,344
    Location:
    France, near Lyon
    Not in it's current state it's too hacky.

    It need proprer Plateform switch in the configure, and most off the hack garded behind some ifdef first.
     
  5. LTStone

    LTStone Active Member

    Joined:
    Feb 19, 2011
    Messages:
    860
    hmm does this affect android?
     
  6. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,344
    Location:
    France, near Lyon
    I don't think so.
     

Share This Page

Loading...