pmprog
DNF (Did Not Finish)
- Joined
- Apr 25, 2011
- Messages
- 4,150
Amongst my other projects, I thought I'd try and knock up a nice little game for the Pandora. I'm (again) using Allegro (which uses GLES)
My framework loads resources in a thread when you start the game. It doesn't take very long, but it just lets me keep the display running nicely. However, on the Pandora, if I load any images in the thread, it gives me all sorts of glitches and performance problems. If I put the load in the main thread, everything looks fine. As I said, there's not a lot of resources, but I'd like to be able to retain the threaded loading.
Does anyone know if there's a way to thread the loading of bitmaps without giving me these graphical issues? I imagine will need to make changes to the Allegro build rather than my project, but that should be okay.
Cheers
BTW - I don't notice these issues on any of my desktops with threaded loading, is this because there's more power, GL runs differently from GLES, or some other reason?
My framework loads resources in a thread when you start the game. It doesn't take very long, but it just lets me keep the display running nicely. However, on the Pandora, if I load any images in the thread, it gives me all sorts of glitches and performance problems. If I put the load in the main thread, everything looks fine. As I said, there's not a lot of resources, but I'd like to be able to retain the threaded loading.
Does anyone know if there's a way to thread the loading of bitmaps without giving me these graphical issues? I imagine will need to make changes to the Allegro build rather than my project, but that should be okay.
Cheers
BTW - I don't notice these issues on any of my desktops with threaded loading, is this because there's more power, GL runs differently from GLES, or some other reason?