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 Slow Pandora builds

Discussion in 'C /C ++' started by namco, Nov 15, 2015.

  1. namco

    namco Member

    Joined:
    Mar 22, 2006
    Messages:
    400
    Location:
    Manchester, UK
    I've recently been playing around with cdevtools and managed to get a couple of projects running via the Pandora but they are running really really slowly and I don't know why - here's a zip file of the parallax scrolling test:


    Pandora Scrolling Test


    Thanks for your help.


    [edit]: link fixed
     
    Last edited by a moderator: Nov 15, 2015
    Tags:
  2. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,192
    Well, loading and unloading your images every frame is going to be a massive burden. Also the Pandora's screen size is 800x480, not 800x600
     
  3. namco

    namco Member

    Joined:
    Mar 22, 2006
    Messages:
    400
    Location:
    Manchester, UK
    Just wanted to update on this.

    Managed to fix the problem, part of it was screen resolution (as mentioned) - which was solved by using a launch script (the one that has "export SDL_VIDEODRIVER=omapdss"), making sure that the correct bits per pixel is set and changing SDL_SWSURFACE to SDL_HWSURFACE.

    The unloading and loading images every frame wasn't really an issue! :)

    aka - noob error. Move along. Nothing to see here! :p
     

Share This Page

Loading...