Граф коммитов

12168 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 56720ec924 Merge pull request #2870 from juj/sdl_surface_lock_opts
Sdl surface lock optimizations.
2014-10-08 13:23:54 -07:00
Alon Zakai 055b3c8b25 Merge pull request #2865 from dvander/support-webgl2-contexts
Support WebGL2 contexts.
2014-10-07 15:41:18 -07:00
David Anderson f781022207 Pass major/minorVersion from init_context_attributes(). 2014-10-07 15:25:42 -07:00
David Anderson 96a43c98f6 Add WebGL 2.0 support to createContext(). 2014-10-07 15:25:41 -07:00
Alon Zakai 98f9878ce7 improve TOTAL_MEMORY adjustment message; #2860 2014-10-07 14:50:32 -07:00
Alon Zakai 8cec96a59f make asm3i.test_hello_world more robust 2014-10-07 14:19:55 -07:00
Alon Zakai ab78a6a180 implement INTCALL 2014-10-07 14:16:34 -07:00
Alon Zakai 2a3735d36e refactor CALL into EXTCALL and INTCALL, in preparation for INTCALL 2014-10-07 12:05:37 -07:00
Alon Zakai 6c1fd06d3c simplify emterpreter return ABI 2014-10-07 11:50:37 -07:00
Alon Zakai e5bd854dde remove statements that have no side effects 2014-10-07 10:52:43 -07:00
Dan Gohman 0b5a03ee3d Switch to a newer unofficial simd.js polyfill
Switch to the new polyfill from
https://github.com/sunfishcode/ecmascript_simd/blob/development/src/ecmascript_simd.js
for now. This anticipates several changes which are expected to be
accepted upstream.

Among other things, this contains the shuffle->swizzle rename and the
shuffleMix->shuffle rename and generalization.

I also added a workaround for the fact that SpiderMonkey isn't allowing
the polyfill to detect whether signMask is implemented, and isn't
allowing it to be overridden.
2014-10-07 10:41:49 -07:00
Dan Gohman 5657d0076e Remove missing int32x4 comparisons for now.
We'll hopefully add these to the spec soon, but for now, it's not hard
to just emulate them.
2014-10-07 09:21:59 -07:00
Dan Gohman a90e812bbf Remove SIMD loadX, storeX, and friends for now.
OdinMonkey doesn't support them yet, and it'll be easy to re-introduce
them when it does.
2014-10-07 08:53:41 -07:00
Jukka Jylänki 70173560dc Remove bad Pointer_stringify when calling C function emscripten_GetProcAddress from glfwGetProcAddress. 2014-10-07 06:17:41 -04:00
Alon Zakai 2d130db6ae move Changlog to markdown 2014-10-06 21:23:37 -07:00
Alon Zakai 75766411a9 utility to get all functions in a table, and use that to determine which are all the external emterpreter functions 2014-10-06 17:42:07 -07:00
Alon Zakai 520c85124f refactor to allow making trampolines optional 2014-10-06 17:13:14 -07:00
Alon Zakai 323583f542 comment 2014-10-06 16:47:12 -07:00
Alon Zakai da1d2a347e update other.test_emterpreter 2014-10-06 16:47:12 -07:00
Alon Zakai dce81fa4a1 Merge branch 'polyfill-glMapBufferRange' of https://github.com/dvander/emscripten into incoming
Conflicts:
	AUTHORS
2014-10-06 16:07:04 -07:00
Alon Zakai b8a4a285b5 only let leaves use zero stack offset, as otherwise hard to support setjmp, exceptions, etc. 2014-10-06 15:09:50 -07:00
Alon Zakai 8137f2909a debugging help 2014-10-06 14:34:45 -07:00
David Anderson 1f077404d9 Remove typo. 2014-10-06 14:19:01 -07:00
David Anderson e177cc1ef3 Move glMapBufferRange behind FULL_ES3. 2014-10-06 14:09:48 -07:00
Alon Zakai 5aba046f4d try to fix other.test_argv0_node on windows 2014-10-06 13:16:54 -07:00
Alon Zakai 7da4b18323 ensureLabelSet pass, and use it to avoid zeroing out all local vars in emterpreter 2014-10-06 12:18:15 -07:00
Alon Zakai 9337907e2c Merge branch 'master' of https://github.com/jlongster/emscripten into incoming
Conflicts:
	AUTHORS
2014-10-06 11:31:00 -07:00
Jukka Jylänki d01a4de1a8 Update documentation for emsdk 1.25.0 download links. 2014-10-06 18:57:53 +03:00
Jukka Jylänki 270bf2fcde Optimize Emscripten SDL handwritten JS-implemented SDL_LockSurface() and SDL_UnlockSurface() by adding an option to perform discarding locks that are fast no-ops and to avoid the screen-is-always-opaque emulation which fills alpha=0xFF bytes to each pixel on lock and unlock. Call something like EM_ASM("SDL.defaults.copyOnLock = false; SDL.defaults.discardOnLock = true; SDL.defaults.opaqueFrontBuffer = false;"); at startup to enable these. 2014-10-06 15:20:53 +03:00
Alon Zakai 8c3d876823 todo 2014-10-05 14:05:57 -07:00
Alon Zakai 45c07d4f9e always run emterpreters at stack frame 0 2014-10-05 12:32:09 -07:00
Alon Zakai 240d01e1d3 optimize condition+BRF=>condition+BRT 2014-10-04 15:05:20 -07:00
Alon Zakai 1f80947c8f unify relative and absolute markers 2014-10-04 14:54:39 -07:00
Alon Zakai 2128f0043a optimized condition+branch opcodes 2014-10-04 14:10:49 -07:00
Alon Zakai a2deea81d4 use makeBranchIfTrue in makeDo 2014-10-04 14:02:31 -07:00
Alon Zakai 1900c4c958 use makeBranchIfFalse in makeWhile 2014-10-04 13:57:01 -07:00
Alon Zakai e8a0fc05c5 reorganize comparisons 2014-10-04 11:08:33 -07:00
Alon Zakai 53864a7164 optimize Math_imul 2014-10-03 21:41:22 -07:00
Alon Zakai a96ba41ef3 refactor CALL generation 2014-10-03 21:34:24 -07:00
Alon Zakai 1afef7c2a9 fix stack handling in zero emterpreters 2014-10-03 19:38:20 -07:00
Alon Zakai 6ae10ab2f2 disable lua benchmarks for now 2014-10-03 17:43:12 -07:00
Alon Zakai 02a3285a7c functions calling function pointers are not leaves 2014-10-03 15:07:07 -07:00
Alon Zakai 6efd84f0d2 use zero-based emterpreter for leaf funcs 2014-10-03 14:32:05 -07:00
Alon Zakai 36aa544631 decide which funcs will be emterpreted in python 2014-10-03 13:58:33 -07:00
Alon Zakai 8b797522ff improve emterpreter testing 2014-10-03 13:50:52 -07:00
Alon Zakai 848eff209e assume we have a full stack frame at the bottom of memory 2014-10-03 13:26:49 -07:00
Alon Zakai 0c85e6d502 option to customize GLOBAL_BASE 2014-10-03 12:26:33 -07:00
Alon Zakai 160e8049f2 option to customize GLOBAL_BASE 2014-10-03 12:18:50 -07:00
Jukka Jylänki f49eb705ce Clarify the docs that --tracing is a directive that needs to be present at both compile and link stages. 2014-10-03 17:58:19 +03:00
juj f86474e0f3 Merge pull request #2839 from juj/main_loop_scheduling
Main loop scheduling
2014-10-03 17:36:23 +03:00