aboutsummaryrefslogtreecommitdiff
path: root/src/library_egl.js
AgeCommit message (Collapse)Author
2014-03-15Add eglWaitGLCharlie Birks
2014-02-14Remove flush from eglSwapBuffers emulation.Andreas Bergmeier
2014-02-14Remove ambiguous error reporting of EGL_NOT_INITIALIZED and add error ↵Andreas Bergmeier
reporting for EGL_BAD_ACCESS when invalid internal state is encountered.
2014-02-14Bring eglSwapBuffers closer to actual documentation.Andreas Bergmeier
Checks now whether ctx was initialized and not lost. Does a glFlush before returning. And returns success codes from function.
2014-02-09move emscripten_GetProcAddress to a C library, so that it is less hackish ↵1.10.3Alon Zakai
and can work in fastcomp
2013-12-20Make EGL function eglCreateContext spec-conformant and actually read the ↵Jukka Jylänki
EGL_CONTEXT_CLIENT_VERSION field when creating a context. Require the version number 2, since WebGL1 maps to GLES2.
2013-11-13Add concepts of current context, and current draw and read surfaces on that ↵Jukka Jylänki
context. Implement functions eglGetCurrentSurface(), eglGetCurrentDisplay() and eglGetCurrentContext(). Allow passing EGL_NO_SURFACE and EGL_NO_CONTEXT to eglMakeCurrent. Fixes #1793 and #1775.
2013-11-13Rename redundant wording EGL.eglErrorCode to just EGL.errorCode.Jukka Jylänki
2013-10-28fix glGetString and eglQueryString, and optimize emulated glGetStringAlon Zakai
2013-10-26cache string allocations in glGetString and eglQueryStringAlon Zakai
2013-10-15Changed EGL_SAMPLES to 4 (2x2 MSAA)Remi Papillie
2013-10-13Switched on MSAA in EGL.Rémi Papillié
2013-08-18implement eglGetProcAddressToadKing
2013-08-08If WebGL context creation fails, return 0 in glutCreateWindow and ↵Jukka Jylänki
EGL_NO_CONTEXT in eglCreateContext to allow the user to detect whether WebGL support is enabled in the browser or not.
2013-05-13Remove toString in eglQuerySurface implementation for EGL_WIDTH and ↵James Gregory
EGL_HEIGHT, per kripben's suggestion.
2013-05-10Issue #645: Implement eglQuerySurface for EGL_HEIGHT and EGL_WIDTH.James Gregory
2013-02-19Added some symbol compatibility for OpenGL1.1.Michael Bishop
Added implementations for - eglTerminate - eglDestroySurface - eglDestroyContext Stubbed out glTextEnvi
2013-01-31Implemented eglTerminate and eglDestroyContext.Jukka Jylänki
2012-10-17Add explicit braces to one-liner if statements in library_egl.js.Jukka Jylänki
2012-10-17Relax the implementation of eglGetDisplay function to always return the ↵Jukka Jylänki
Emscripten EGLDisplay handle. This allows EGL-using GLES2-related tests to pass, they expect to utilize eglGetDisplay as if running on X11.
2012-10-17Implemented more EGL functions.Jukka Jylänki
2012-06-04Added stubs for eglQuerySurface and eglGetError implementations.Jukka Jylänki
2012-04-05fix egl param nameAlon Zakai
2012-04-03refactor library_gl into separate filesAlon Zakai