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

9574 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 0c4c790344 Merge pull request #2021 from juj/gl_combine_shader
GL_COMBINE shader.
2014-01-15 13:07:20 -08:00
Jukka Jylänki 3740f37cc4 Optimize FFP GL shader generation in the case when GL_COMBINE is used. This merges duplicate texture loads into one and avoids a redundant * 1.0 op. 2014-01-15 22:11:18 +02:00
Alon Zakai c5522c6456 add musl fputws, fix vswprintf, add testing for fwprintf and swprintf as well 2014-01-15 11:26:48 -08:00
Alon Zakai 3753753c60 remove musl use of fwritex 2014-01-15 10:32:12 -08:00
Alon Zakai e808b59eb6 Merge pull request #2018 from waywardmonkeys/updates3
Updates3
2014-01-15 10:21:03 -08:00
Alon Zakai 81c9b29d0d Merge pull request #2019 from juj/evenmore_gl_opts
Even more gl opts
2014-01-15 10:17:03 -08:00
Jukka Jylänki 4a2fd2a412 Optimize rendering from client-side memory by maintaining a set of doublebuffered VBOs. This improves performance by reducing CPU-GPU pipeline stalls. 2014-01-15 17:31:19 +02:00
Jukka Jylänki aba027c6e6 Further optimize FFP GL getRenderer() operation. 2014-01-15 17:31:16 +02:00
Ryan Kelly ba54ecbc93 Split name-minification into a separate pass from registerization. 2014-01-16 01:02:43 +11:00
Bruce Mitchener ec9a571dee Bump version. 2014-01-15 12:01:56 +07:00
Bruce Mitchener db88b6cd9b Fill in undefined math symbols. 2014-01-15 12:01:56 +07:00
Alon Zakai 60a86d0fcb fix aggressiveVariableElimination bug and add testing 2014-01-14 20:54:14 -08:00
Alon Zakai b5ca47aee2 fix for running js optimizer standalone 2014-01-14 20:34:36 -08:00
Alon Zakai a6effe0a86 fix wprintf-related bug that bit fastcomp 2014-01-14 16:23:45 -08:00
Alon Zakai dbcc4e8d33 disable test_simd3 due to breakage 2014-01-14 14:55:37 -08:00
Alon Zakai 836ca84817 fix double start bug #1992 in browser as well 2014-01-14 14:49:29 -08:00
Alon Zakai c8529f6fa6 Merge pull request #2009 from waywardmonkeys/updates2
Updates2
2014-01-14 14:11:16 -08:00
juj 899b2b41e6 Merge pull request #1878 from Cloudef/incoming
Add GLEW 1.10.0 emulation
2014-01-14 07:12:48 -08:00
Jari Vetoniemi a39788f502 Add GLEW 1.10.0 emulation
Includes library_glew.js that stubs the init functions, but also provides the
other functions.

GL/glew.h is now changed to work with GLEW_EXT_foo_bar constants,
some missing constants that are in GLEW 1.10.0 are also provided.

Otherwise it still uses SDL_opengl.h to provide function definitions and
other constants.

Linaro's GLEW (glew-oes) is also supported to some degree to make it
easier to get ES1 and ES2 software using it running.

What it lacks:
- Some constants and function declarations that are in GLEW 1.10.0
might be missing.
- The real glew-es fork also includes normal GL constants and
function pointers, this does not.

Tests ran:
- tests/runner.py browser

Real world example using this code (and upcomming glfw3 port) can be found here:
http://cloudef.eu/glhck
http://cloudef.eu/glhck/qb.html
2014-01-14 17:04:58 +02:00
Andreas Bergmeier facbcfb04d Replace printing to stderr with logging warning. 2014-01-14 13:18:43 +01:00
Jukka Jylänki 3cd9b678c6 Fix GLImmediate signature after rebase. 2014-01-14 12:44:46 +02:00
Jukka Jylänki 8c93579ff8 Add test for glGetTexEnv implementation. Fix output of GL_TEXTURE_ENV_COLOR color data from glGetTexEnvfv. 2014-01-14 12:42:42 +02:00
Jukka Jylänki 3d05d222cb Fix typo in case of abort_noSupport in library_gl.js. 2014-01-14 12:42:41 +02:00
Jukka Jylänki 03a3c42626 Implement glGetTexEnviv and glGetTexEnvfv in GL emulation mode. 2014-01-14 12:42:40 +02:00
Jukka Jylänki 3ee72465de Fix (harmless) out-of-bounds access on vertex attribute indices in GL emulation init when GL_FFP_ONLY is set. 2014-01-14 12:42:39 +02:00
Jukka Jylänki 726bbf32e8 Fix typo in GL library abort function case. 2014-01-14 12:40:08 +02:00
Bruce Mitchener ef76022962 Bump version. 2014-01-14 16:19:38 +07:00
Bruce Mitchener 8016130a51 Expand aliases for strto*_l() to short functions.
This removes warnings about incompatible pointer types in asm2 mode.
2014-01-14 16:19:38 +07:00
Bruce Mitchener 8f85a8ed68 Move err/warn/etc from libc to libcextra. 2014-01-14 15:05:21 +07:00
Bruce Mitchener 58713dc426 Replace getopt_long with musl version. 2014-01-14 15:05:21 +07:00
Bruce Mitchener 98cb4917eb stdlib/strtod.c is no longer used.
This has been replaced with code from musl.
2014-01-14 15:05:21 +07:00
Bruce Mitchener bba4dd6fd3 Replace implementation of warn*/err*.
This eliminates a large number of warnings about incompatible function pointer
casts when compiling for asm.js.
2014-01-14 15:05:21 +07:00
Bruce Mitchener a15486ffea Fix asm2 compilation where __toread was used. 2014-01-14 15:05:20 +07:00
Bruce Mitchener ea5facf1ab Note change in signgam implementation from upstream. 2014-01-14 08:39:29 +07:00
Alon Zakai 0e36f078d4 add fputwc, which enables wprintf 2014-01-13 17:03:24 -08:00
Alon Zakai cd1edebb50 Merge branch 'incoming' of github.com:kripken/emscripten into incoming
conflicts: tests/test_core.py tools/shared.py
2014-01-13 16:56:03 -08:00
Alon Zakai 2914deb17f Merge pull request #2004 from waywardmonkeys/updates
Updates
2014-01-13 16:54:38 -08:00
Alon Zakai af59788f8b unset precision if set to -1 2014-01-13 16:52:07 -08:00
Alon Zakai 7844db37f5 handle precision -1 in printf .* 2014-01-13 15:31:52 -08:00
Jukka Jylänki cb0f677e53 Fix GL emulation regression with VBO data caused by commit 4e3c1b3e86 (commitcomment-5056244) 2014-01-14 00:39:23 +02:00
Alon Zakai d9c105af03 optimize searching in set of implemented functions in fastcomp toolchain code 2014-01-13 13:26:51 -08:00
Alon Zakai b97c1bc76c avoid leaks on multiple calls to relooper MakeOutputBuffer 2014-01-13 12:43:55 -08:00
Alon Zakai d1f37af979 allow relooper to manager its own output buffer, to avoid fixed output limits 2014-01-13 12:37:34 -08:00
Bruce Mitchener ee4a2df911 Bump version. 2014-01-14 02:21:11 +07:00
Bruce Mitchener e3825afd87 Move scalbn to libc to fix broken functionality. Disable test on x86. 2014-01-14 02:21:11 +07:00
Bruce Mitchener 3b62c6587c Add lots of math functions. 2014-01-14 02:21:11 +07:00
Bruce Mitchener 75a6be63a3 Another test for negative zero and hex floats. 2014-01-14 02:21:11 +07:00
Bruce Mitchener cd21e58d9e Make lgamma and friends work, add test.
We can't use weak aliases on variables in emscripten, so get rid of __signgam
and just use signgam.
2014-01-14 02:21:11 +07:00
Bruce Mitchener b167b3c751 Add gamma functions. 2014-01-14 02:21:11 +07:00
Bruce Mitchener c0229303f8 Add strtod(), wcstod(), wcstol() and friends.
This implementation of strtod() replaces the old as it implements
support for parsing hex constants which is needed by various tests.
2014-01-14 02:21:11 +07:00