kripken/emscripten — pull request #620 by juj (2012-10-07 21:21:21+00:00)
Title: EGL

Adds a more comprehensive implementation of the EGL 1.4 specification.

The new implementation is still somewhat a stub, but new functions are implemented, in particular display,config,context and surface creation now follows the same pattern as e.g. on Android, instead of simply passing through stubs.

Configs, contexts and surfaces can be queried according to attributes in the spec, although some values are still hardcoded/not filled.

There is a only single supported config type, which is hardcoded atm.

Tested against the existing EGL-using apps in the tests/glbook folder, in addition to my own EGL client codebase, which is also used on Android.