aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-11-28Document GL_FFP_ONLY setting in src/settings.js.Jukka Jylänki
2013-11-28check error in mkdtemp()Lu Wang
2013-11-28mkdtempLu Wang
2013-11-28 - fix for structures generated by manually calling generateStructInfoAnthony Pesch
2013-11-27add dso_handle to library, for fastcompAlon Zakai
2013-11-27Merge pull request #1863 from juj/gl_emulation_opts_rebasedAlon Zakai
Optimize GL emulation layer.
2013-11-27GL_IMPLEMENTATION_COLOR_READ_TYPE and GL_IMPLEMENTATION_COLOR_READ_FORMATAlon Zakai
2013-11-27Cast GL emulation matrix version numbers back to integers after increment. ↵Jukka Jylänki
Code cleanup and clarify comments.
2013-11-26tiny code cleanupAlon Zakai
2013-11-26Merge pull request #1865 from ngld/llvm-usedAlon Zakai
Fix @llvm.used
2013-11-27Set proper value type for @llvm.usedngld
2013-11-26Merge pull request #1864 from ngld/llvm-usedAlon Zakai
Implemented #1573. (@llvm.used)
2013-11-26getting some initial set of x86 intrinsics mapped to JS SIMD ops; update ↵Heidi Pan
existing SIMD code to use updated JS SIMD API (SIMD.type.op instead of SIMD.op & SIMD.opu32; int32x4 instead of uint32x4); bug fix: right type of withX() for int32x4 initialization; bug fix: splat(0) instead of zero() for int32x4 initialization
2013-11-26Implemented #1573. All functions marked as "used" will be automatically ↵ngld
added to EXPORTED_FUNCTIONS.
2013-11-26Add new GL emulation related #define GL_FFP_ONLY which is used to signal ↵Jukka Jylänki
that the C/C++ client code will not use any GL shaders, allowing more efficient optimizations to be performed in the FFP GL emulation code knowing that it doesn't need to worry about shader programs from the user.
2013-11-26Skip looping twice over textures in GL emulation renderer prepare() code. ↵Jukka Jylänki
Clean up unnecessary variable.
2013-11-26Name GL functions that show up as anonymous in the profile.Jukka Jylänki
2013-11-26Version immediate mode GL matrix stack data, so that the matrices don't need ↵Jukka Jylänki
to be reset on each program if they didn't change.
2013-11-26Fix GL logging message when GL_UNSAFE_OPTS is disabled.Jukka Jylänki
2013-11-26Cache the currently active FFP emulation renderer object. If ↵Jukka Jylänki
renderer-related GL state does not change, the renderer can then be looked up very quickly, instead of having to recompute the key every time.
2013-11-26Optimize GL emulation performance by packing the GLTexEnv renderer key to a ↵Jukka Jylänki
tighter space, which greatly reduces the number of required CKeyView.next() traversals that show up costly in the profiles.
2013-11-26Simplify the key state used for identifying used vertex attribute set. The ↵Jukka Jylänki
function CKeyView.next() shows up as one of the hottest in profiles, so merging multiple key identifiers to one helps performance.
2013-11-26Remove vertex attribute size and type information from being part of the FFP ↵Jukka Jylänki
emulation renderer key. This improves performance by making the renderer key simpler, which causes fewer renderer state key traversals to be done in getRenderer(), and by reducing the number of created shader programs and # of shader program switches performed during frame.
2013-11-26Added new configuration parameter support 'GL_MAX_TEXTURE_IMAGE_UNITS' to ↵Jukka Jylänki
the emscripten Module object so that codebases using fixed-function GL emulation mode can hint to the emulation code how many texture units they are using at maximum. This optimizes the emulation code path to avoid having to examine an unnecessary amount of texture units at each draw call (at minimum the code would loop over to confirm that the unused texunits are really unused, which would burn up some unneeded cycles.)
2013-11-26parse hex floats in vector literalsAlon Zakai
2013-11-26replace PROTOCOL_LIST and PROTOCOL_MAP with a Protocols object containing a ↵Fraser Adams
list and a map instance
2013-11-26in getprotoent return 0 rather than null if we reach eof in our protocol ↵Fraser Adams
database
2013-11-26correct way of scrollinbg to bottomLu Wang
2013-11-26naive implement of SDL_LowerBlitLu Wang
2013-11-25fix typo in onContextCreationErrorAlon Zakai
2013-11-24support for ignoring nacl intrinsicsAlon Zakai
2013-11-24add getprotobyname and associated functions from netdb.h. Add ↵Fraser Adams
test_getprotobyname.c test suite and update test_sockets.py to include test_getprotobyname. ./runner.py sockets.test_getprotobyname completes successfully
2013-11-22listen to webglcontextcreationerror for information; fixes #1846Alon Zakai
2013-11-22simplify relooper default indentAlon Zakai
2013-11-22fix pthread_setspecific on values of nullAlon Zakai
2013-11-21Merge branch 'fix_whitespace' of github.com:DanielBaulig/emscripten into ↵Alon Zakai
incoming Conflicts: AUTHORS
2013-11-21Add missing semicolons in preamble.jsDaniel Baulig
2013-11-21use normal std::string in native relooper buildsAlon Zakai
2013-11-21add some support for le32=2 mode, where varargs is just 4-byte alignedAlon Zakai
2013-11-20memory initializer in fastcompAlon Zakai
2013-11-20hack up support for 'glue' phase in js compiler, to just generate glue for ↵Alon Zakai
backend output
2013-11-20fix stack traces from js compilerAlon Zakai
2013-11-19[SDL] SDL_JoystickEventState should default to SDL_ENABLE, not SDL_DISABLE.John Vilk
2013-11-19disable compiler fallback attempts to load relooper and struct info from ↵Alon Zakai
local dir
2013-11-18better fix for closure issue in asm2f.test_exceptions; clear out the ↵Alon Zakai
spidermonkey shell gc() function
2013-11-18fix a bug in the accept call in library.js whereby if accept was called with ↵Fraser Adams
non-NULL addr and addrlen parameters a ReferenceError occurs because accept had a parameter of addrp but later used addr. Modified tests_sockets_echo_server.c to use non-NULL addr if TEST_ACCEPT_ADDR is defined and added test case to test_sockets.py
2013-11-17try 'webgl' as well for webgl context creation; fixes #1813Alon Zakai
2013-11-17fix some leaked globals; fixes #1823Alon Zakai
2013-11-17EM_ASM_INT and EM_ASM_DOUBLE, which allow input and output values from ↵Alon Zakai
EM_ASM; fixes #1819
2013-11-16asm warningAlon Zakai