Roadmap
Done:
- Initialize context with EGL
- Keyboard support
- Mouse support
- Virtual keypad (on touchscreen)
- Extract assets in cache dir on start-up
- Make EGL support reusable by Mesa X11
- freeglut_std.h can be used with GLES1 or GLES2 or non-ES headers
(using -DFREEGLUT_GLES1 and -DFREEGLUT_GLES2)
- GLES1 and GLES2 support for geometry
- Pause/resume application support
TODO:
- Open new windows (if that's possible)
- Joystick support (xperia play...)
- Display translucent keys on virtual keypad
- API to detect touchscreen presence
- API to disable assets extraction
- Callback to reload OpenGL resources lost during a pause
- Callback for pause/resume notifications
Possibly implemented later:
- Support for menus and basic fonts
New API
New functions will be necessary to :
- detect touchscreen presence
- disable assets extraction
(Work In Progress)
Compiling
Create a module compatible with the NDK build-system
Compile FreeGLUT for a traditional cross-compiler environment
Using in your projects
Links
- http://pygame.renpy.org/ : Pygame Subset for Android, it
designed an API for managing Android app lifecycle
(
android.check_pause
and
android.wait_for_resume
)