I'm trying to run my game in a Android device (LG-G6) and we got two problems:
- First, but less important, when I call al_get_display_mode it returns a NULL pointer. I used this call on PC to get the fullscreen resolution. In Android I just commented out, and they get the proper resolution automatically (maybe because AllegroActivity, I don't know really).
- My second, and annoying problem is application start time. The application runs smoothly all the time, but when start, it took like 22 seconds to show the first image. In logcat I can see the delay is betwen this calls (no code skkiped betwen them):
107-17 11:52:41.144 27011-27049/net.tulur.games.corporate I/allegro: opengl D 27049: ogl_lock_es.c:259 ogl_lock_region_nonbb [ 0.28942] Locking non-backbuffer WRITEONLY
207-17 11:53:03.430 27011-27049/net.tulur.games.corporate I/allegro: opengl D 27049: ogl_lock_es.c:591 ogl_unlock_region_nonbb_2 [ 22.57591] Unlocking non-backbuffer (non-FBO)
This happens in debug or release modes.
Any help is appreciated