aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-01-03[SDL] Fixing SDL_UnlockSurface in IE10/IE11.John Vilk
Previously, just calling SDL_UnlockSurface in IE10/IE11 would throw an exception, since Emscripten assumed that the ImageData's `data` property was Uint8ClampedArray, which has a backing buffer. IE10/IE11 still uses the deprecated CanvasPixelArray, which does not have a backing buffer property: https://developer.mozilla.org/en-US/docs/Web/API/CanvasPixelArray I've added an additional path to SDL_UnlockSurface for these browsers.
2014-01-03fix output in glGetFramebufferAttachmentParameterivAlon Zakai
2014-01-03properly handle getParameter returning null when it means a null object ↵Alon Zakai
(e.g., no buffer is bound) and not an invalid name
2014-01-03make sure to give Ids to split blocks in relooper1.8.1Alon Zakai
2014-01-03do not assume callee.caller always existsAlon Zakai
2014-01-02adjust TOTAL_MEMORY at runtime, to take into account last minute changes to ↵Alon Zakai
Module.TOTAL_MEMORY
2014-01-02support #include x.js in our preprocessed js sourcesAlon Zakai
2014-01-02minor cleanLu Wang
2014-01-01ensure we add precision in gl emulation to both fragment and vertex shadersAlon Zakai
2014-01-01fix gl typosAlon Zakai
2014-01-01Merge pull request #1870 from inolen/structinfo_fixAlon Zakai
fix for structures generated by manually calling generateStructInfo
2014-01-01minor cleanLu Wang
2013-12-29Merge pull request #1928 from anlambert/webgl_ANGLE_instanced_arraysAlon Zakai
Add support for WebGL hardware instancing through extension ANGLE_instanced_arrays
2013-12-28Merge pull request #1954 from richq/lockrefAlon Zakai
Fix missing SDL_LockSurface reference
2013-12-28optimize relooper id counters1.8.0Alon Zakai
2013-12-27Fix missing SDL_LockSurface referenceRichard Quirk
Prior to this change, when blitting from the screen to a memory buffer the code could throw a "ReferenceError: _SDL_LockSurface is not defined" if SDL_LockSurface was not used elsewhere in the C code.
2013-12-26support for optional complete emulation in relooper1.7.9Alon Zakai
2013-12-26fix js libraries in fastcomp; fixes #1948Alon Zakai
2013-12-25ignore whitespace in relooper reftestsAlon Zakai
2013-12-25properly handle invoke of setjmp, by lowering to a call, which fixes phis ↵Alon Zakai
that refer to it. fixes #1942
2013-12-20Move emscripten-source-map.min.js to src/ since it is a non-tests file ↵Jukka Jylänki
needed by public use when user wants to emscripten_log with a C callstack. Remove redundant emscripten_demangle function.
2013-12-20Update emscripten_log to work with the handwritten JS demangler. Update tests.Jukka Jylänki
2013-12-20Also give the ability to print out function parameters in the callstack with ↵Jukka Jylänki
emscripten_get_callstack.
2013-12-20Add new functions emscripten_log() in emscripten.h which allows printing out ↵Jukka Jylänki
log messages with callstack information, and function emscripten_get_callstack(), which allows programmatically obtaining the current callstack.
2013-12-20Merge pull request #1934 from juj/eglCreateContextjuj
eglCreateContext.
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-12-19Implement command line passing to work to emrun when --emrun is passed.Jukka Jylänki
2013-12-18Add support for launching Android browsers via emrun. Fix log message print ↵Jukka Jylänki
ordering with explicit synchronization.
2013-12-17add OpenGL Desktop/ES 2.0 hardware instancing extensions compatibility functionsAntoine Lambert
2013-12-17use GL_ASSERTIONS instead of ASSERTIONSAntoine Lambert
2013-12-17add support for WebGL hardware instancing through extension ↵Antoine Lambert
ANGLE_instanced_arrays
2013-12-16fix varargs signature generation, '...' is optional and both cases must be ↵Alon Zakai
handled; fixes #1918
2013-12-16handle a single empty alloca; fixes #1919Alon Zakai
2013-12-16Merge pull request #1896 from juj/emrunAlon Zakai
Emrun
2013-12-16Merge pull request #1926 from coolwanglu/typo_fixAlon Zakai
fix typo
2013-12-16Merge pull request #1920 from coolwanglu/alias_fixAlon Zakai
simplifies with alias
2013-12-17Fix for glfwSetCharCallback not being fired if glfwSetKeyCallback was also ↵CliffyA
registered
2013-12-16fix typoLu Wang
2013-12-14do not add i64 support funcs more than onceAlon Zakai
2013-12-14export code for CallHandlers.hAlon Zakai
2013-12-14simplifies with aliasLu Wang
2013-12-14Add machinery that detects whether a html page was built with --emrun ↵Jukka Jylänki
command line flag, and print a warning if not done so.
2013-12-14Added test to check that emrun stdout, stderr and process exit code capture ↵Jukka Jylänki
work.
2013-12-13Fix glGetIntegerv(GL_SHADER_BINARY_FORMATS) to not write anything to the out ↵Jukka Jylänki
pointer, since the output array is empty.
2013-12-13Generate an GL_INVALID_VALUE error when user calls glGetXXX() with a null ↵Jukka Jylänki
out pointer instead of crashing. Fix glGetIntegerv of GL_SHADER_BINARY_FORMATS to not write anything out to the provided buffer.
2013-12-12move tests/hello_world.js to src, so tests/ folder is not needed for sanity ↵Alon Zakai
checks
2013-12-11Merge pull request #1853 from fadams/add-getprotobynameAlon Zakai
add getprotobyname and associated functions from netdb.h. Add test_getpr...
2013-12-10do not skip vector types in function signaturesAlon Zakai
2013-12-10Merge pull request #1902 from wahbahdoo/incomingAlon Zakai
Fix NaN Canoicalization Issue for SIMD Bitcasts
2013-12-10quote keys in library objects when necessary; fixes #1908Alon Zakai