FORCE_PORTRAIT is no longer necessary
Added OpenGL ES 2 context support
Post *all* native bps events to the client app as SDL_SYSWMEVENT events
…o 2. The additional attributes are pulled from SDL 1.3/2.0, similar to webOS
…to detect this.
enable screen rotation through environment variable AUTO_ORIENTATION
don't clobber the bps_event
mainWindow is available through GetWMInfo
SCREEN_PROPERTY_IDLE_MODE tied to getenv("SCREEN_IDLE_NORMAL")
The environment variable STRETCH_MODE is used to distinguish between different desired ways of putting a given buffer size on the screen. This should also fix many of the resolution issues with BB10 devices.
Push BPS events using SDL_SysWMEvent
Fix screen dimensions for BB10 devices
Added initial support for portrait orientation
…s started in portrait, even if the bar-descriptor specifies landscape orientation. This ensures that even if libscreen tells us the wrong information, SDL will always run in landscape.
…SDL_syswm.h so that applications can access the screen window group.
…turns 0x0. However, SCREEN_PROPERTY_SIZE works, so we'll use that.
Redo the way TouchControlOverlay is included:
-Don't hardcode directories in build_for_playbook.sh, make it a configure test, but require it to be found on playbook. -Don't include any paths for TouchControlOverlay - better to install it first and get it from the ndk stage than to assume it is built using momentics one directory up from the current directory. -Don't hardcode the build platform, this can easily be auto-detected by configure. -Remove explicit header include paths, library include paths, and variables that are unnecessary because configure will already set them up