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

1426 Коммитов

Автор SHA1 Сообщение Дата
nandhp 81bbbc3de4 Fix SDL_MapRGB and implement SDL_MapRGBA.
Also provide a test case.
2012-07-11 10:30:29 -05:00
Alon Zakai faebd71318 update test_emcc for -O3 doing inlining 2012-07-08 19:58:54 -07:00
Alon Zakai 282c638020 fix for getFastValue with subtracting a negative 2012-07-08 13:14:31 -07:00
Alon Zakai 096822bc57 support for float textures 2012-07-07 12:04:28 -07:00
Alon Zakai d94cc315ef add INLINING_LIMIT=0 to -O3 2012-07-06 18:13:25 -07:00
Alon Zakai 9aee47c30f export Browser.pauseMainLoop|resumeMainLoop 2012-07-05 14:58:13 -07:00
Alon Zakai b9e43e29b6 fix a bug with allocate not being told the right number of bytes with single double values, and fix one extra byte being needlessly allocated while we are at it 2012-07-04 16:08:05 -07:00
Alon Zakai 1efbaae031 pass the eliminator the filename to avoid OS-specific issues with reading from stdin using node 2012-07-04 12:50:37 -07:00
Alon Zakai 80b4a4b910 support non-GL_UNSIGNED_BYTE texture pixel styles 2012-07-03 11:37:48 -07:00
Alon Zakai 76ff990d1f add some slack in aniso test for ati/nvidia differences 2012-06-27 20:12:43 -07:00
Alon Zakai c82110d230 add some additional legitimate outputs to test_cubegeom (ati/linux) 2012-06-27 17:58:09 -07:00
Alon Zakai 25ef30fdbe support for anisotropic filtering 2012-06-27 15:52:25 -07:00
Alon Zakai e882776929 preparatory work for anisotropy 2012-06-27 10:53:25 -07:00
Ehsan Akhgari 5940f31897 Implement Mix_QuickLoad_RAW 2012-06-25 19:13:35 -04:00
Alon Zakai ff674a7489 remove unneeded -O2 in test 2012-06-24 12:39:46 -07:00
Alon Zakai 0f825f760f Merge pull request #488 from ehsan/fog
Fix the fog if the distance is negative
2012-06-24 12:22:14 -07:00
Alon Zakai d21efe08b3 fix test_fcntl 2012-06-22 21:29:59 -07:00
Alon Zakai 27277383aa emcc --remove-duplicates option 2012-06-22 20:50:21 -07:00
Ehsan Akhgari 8ffa4e1f6b Add a test case for negative distances 2012-06-22 15:41:54 -04:00
Alon Zakai 0c3005012e remove unneeded closure testing 2012-06-21 21:05:22 -07:00
Alon Zakai 5b67262e17 Merge pull request #487 from ehsan/fog
Fog support for immediate mode
2012-06-21 20:53:10 -07:00
Alon Zakai 2abffbd059 Merge pull request #483 from caiiiycuk/emscripten_fs_api
Emscripten filesystem api
2012-06-21 19:46:25 -07:00
Ehsan Akhgari 6f3aafb70b Update the reference images based on 1132ddbfb 2012-06-21 18:24:44 -04:00
Ehsan Akhgari dfab4e04fc Implement GL_LINEAR fog mode 2012-06-21 16:01:32 -04:00
Ehsan Akhgari 55a8e9a026 Implement GL_EXP2 fog mode 2012-06-21 15:44:17 -04:00
Ehsan Akhgari 191ea88710 Choose better names for the test files 2012-06-21 15:43:39 -04:00
Ehsan Akhgari de30f4b064 Add support for fog density 2012-06-21 15:43:35 -04:00
Ehsan Akhgari 8058ce6b85 Add a test for basic fog support 2012-06-21 14:45:55 -04:00
Aleksander Guryanov 2c86cbf25b Implementation for emscripten_async_wget 2012-06-21 20:38:01 +07:00
Alon Zakai 67ae1a27f3 support for non-square crunch textures with mipmaps 2012-06-20 10:56:18 -07:00
Alon Zakai 0b2ef820af do not recrunch if dds is unchanged 2012-06-18 16:27:29 -07:00
Alon Zakai b72e2aaedf test for decrunching more than one image 2012-06-18 14:39:30 -07:00
Alon Zakai 85252a46c2 de-crunch in a worker 2012-06-18 10:52:13 -07:00
Alon Zakai 93bf936628 missing s3tc_crunch file 2012-06-17 18:28:04 -07:00
Alon Zakai 49686a2a0f crunch support 2012-06-17 17:57:47 -07:00
Alon Zakai 1325723c82 allow multiple preRun/postRun 2012-06-17 13:55:45 -07:00
Alon Zakai 8140488533 allow multiple pre-js and post-js 2012-06-17 13:24:22 -07:00
Alon Zakai ca9c2d70f9 GL_QUAD non-0 start rendering fix 2012-06-16 09:26:58 -07:00
Alon Zakai 0bf5420d38 EMSCRIPTEN_KEEPALIVE 2012-06-14 21:19:42 -07:00
Alon Zakai 76cdd45d6a basic fog support 2012-06-14 17:49:43 -07:00
Alon Zakai 1bdb3a5e9f ignore phi assigns of undef 2012-06-14 14:14:08 -07:00
Alon Zakai fe747c8010 support NULL rect in SDL_FillRect 2012-06-13 20:52:03 -07:00
Alon Zakai eb93218eb6 s3tc compression support 2012-06-13 18:23:47 -07:00
Alon Zakai cdd280fef4 automate test_sdl_canvas_palette and temporarily disable test_sdl_canvas_palette_2 2012-06-13 14:07:46 -07:00
Alon Zakai 54e6ad2f8f Merge pull request #466 from caiiiycuk/SDL_HWPALETTE
Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface)
2012-06-13 13:53:13 -07:00
Aleksander Guryanov aad005f54a Implementation of SDL_HWPALETTE
Little bit refactoring for copyIndexedColorData now it can accept dirty rect
2012-06-13 20:55:11 +07:00
Alon Zakai 84114e14a0 allow multiple possible results in browser test, and use that to fix test_matrix_identity on certain machines 2012-06-12 21:23:13 -07:00
Alon Zakai 9f0a648128 Merge pull request #471 from ehsan/gl_identity_matrix
Gl identity matrix
2012-06-12 21:08:03 -07:00
Ehsan Akhgari ed9347948a Initialize the projection and modelview matrices to identity
This is required by the spec.  Without this change, the testcase in this
patch merely renders the background, and the box in the upper right
corner will not get rendered at all.
2012-06-12 20:06:02 -04:00
Alon Zakai 4bb5c641d3 handle duplicate files in file packager 2012-06-12 10:44:11 -07:00
Alon Zakai 3eac624d13 use closure-exported FS API for preloading 2012-06-11 11:33:09 -07:00
Alon Zakai fa3225e331 export some filesystem commands through closure 2012-06-11 10:46:31 -07:00
Alon Zakai 947a504fe1 make cubegeom_normal_dap_far_glda more robust 2012-06-05 10:30:44 -07:00
Alon Zakai fcc38a207c fix glDrawArrays with non-zero start 2012-06-04 16:13:55 -07:00
Alon Zakai 2f145f84d8 glDrawRangeElements 2012-06-02 15:36:29 -07:00
Alon Zakai 0ce0d91f99 return correct values for GL_SHADER_COMPILER and GL_NUM_SHADER_BINARY_FORMATS 2012-06-02 12:41:50 -07:00
Alon Zakai 148de83015 scan indices when necessary to figure out what vertex data to push, when no buffers are being used. allows use of vertex data from arbitrary parts of the vertex data range, not just the beginning 2012-06-02 10:16:56 -07:00
Alon Zakai 4925628851 handle pointers to clientside data in glDrawElements when emulating GL 2012-06-01 15:31:39 -07:00
Alon Zakai 642b9c8c6a make strtod properly handle .5 etc 2012-05-31 17:16:59 -07:00
Alon Zakai 358260eefc Merge pull request #460 from adetaylor/llvm_uadd_with_overflow_i16
Adding LLVM intrinsic llvm_uadd_with_overflow_i16.
2012-05-31 14:39:18 -07:00
Alon Zakai b0b7cee27f treat -s not before OPT=VALUE as a linker option 2012-05-31 11:59:42 -07:00
Adrian Taylor 60766db449 Adding LLVM intrinsic llvm_uadd_with_overflow_i16.
With -O1, sometimes LLVM generates code which calls its intrinsic
llvm_uadd_with_overflow_i16, which was previously missing in
emscripten's library.

This commit adds that intrinsic, and also adds a test which
causes LLVM to call that intrinsic (only in 'o1'). This test
previously failed in 'o1' but now passes.
2012-05-31 16:29:26 +01:00
Alon Zakai f842201ace make test_sdl_mouse more robust 2012-05-30 19:58:50 -07:00
Alon Zakai 68d23c61c9 properly identify function pointers that return things like [64 x i16]* 2012-05-30 18:49:03 -07:00
Alon Zakai c0555446e5 Merge pull request #450 from caiiiycuk/openttd
strndump function implementation
2012-05-30 11:19:36 -07:00
Alon Zakai ac7ad44cba tweak emcc caching test numbers 2012-05-30 09:51:30 -07:00
Alon Zakai 530e64611c tweak caching test sizes 2012-05-30 08:37:21 -07:00
Alon Zakai 2b6a3dbadf fix bindings generator bug with overloaded functions whose parameters differ in type between class and non-class 2012-05-29 17:31:25 -07:00
Aleksander Guryanov edb0920e82 Fix behavior strndup whern size <= 0, in this case strndup returns empty string 2012-05-29 20:07:28 +07:00
Alon Zakai 0b222be053 fix string detection regexp and add test 2012-05-28 14:59:04 -07:00
Alon Zakai 0be34770ad throw on writes to absolute memory addresses; fixes #451 2012-05-28 14:38:29 -07:00
Aleksander Guryanov 2134a33a61 Add implementation of strndup function and test for it 2012-05-28 21:35:04 +07:00
LCID Fire e9dd4ca2fa Merge branch 'incoming' of https://github.com/kripken/emscripten into incoming 2012-05-28 14:09:38 +02:00
LCID Fire e5622fed87 Only use C++ flags for C++ code 2012-05-28 14:08:49 +02:00
Alon Zakai 506de96842 test for scons integration and stop using emld there 2012-05-28 05:07:56 -07:00
LCID Fire 678832aaed Add C file to test, to be sure that the correct linker is used. 2012-05-28 14:07:52 +02:00
LCID Fire 659baab3da Add small test project for SCons integration. 2012-05-28 13:46:24 +02:00
Alon Zakai e38d9980c4 fix strtod behavior on non-ints 2012-05-26 19:45:05 +02:00
Alon Zakai dfe1749127 allow - in globals, aliases and types 2012-05-25 15:50:10 +02:00
Alon Zakai 937b9b570a Merge branch 'incoming' into llvmsvn 2012-05-24 16:12:40 +02:00
Alon Zakai 9662b116ce make fgetc return the char value as unsigned (in a signed int) 2012-05-24 13:59:46 +02:00
Alon Zakai 7b9855c062 update year in emcc 2012-05-24 11:15:06 +02:00
Alon Zakai a6d312ccb9 Merge branch 'master' into llvmsvn 2012-05-24 10:13:42 +02:00
Ehsan Akhgari 1be33be6ca Fix the SDL mouse motion events 2012-05-22 15:44:16 -04:00
Alon Zakai a0c963f9d4 WARN_ON_UNDEFINED_SYMBOLS 2012-05-18 12:21:28 -07:00
Alon Zakai d4cfd7a658 support emcc -v with no further arguments 2012-05-18 11:47:41 -07:00
Alon Zakai 26def19538 Merge pull request #427 from juj/vs2010
Vs2010
2012-05-16 18:10:49 -07:00
Ehsan Akhgari 7140877789 Fix the incorrect initial value of GL.immediate.currentMatrix 2012-05-16 15:03:58 -04:00
Alon Zakai 1169a930d7 Merge pull request #428 from ehsan/fixes
A bunch of random fixes
2012-05-15 17:10:29 -07:00
Alon Zakai aec9ccfeac browser gc test 2012-05-15 17:04:07 -07:00
Ehsan Akhgari af56b35e0f Fix IMG_Load to work with absolute paths 2012-05-15 19:52:55 -04:00
Alon Zakai dec9d8fbc4 skip test_gc in s_x_x 2012-05-15 16:03:25 -07:00
Alon Zakai 499ace020e fix test_gc for o1 and o2 2012-05-15 16:01:35 -07:00
Alon Zakai 8331c32384 gc tests for object scanning and atomics 2012-05-15 14:18:56 -07:00
Alon Zakai 46f641bf1e working early gc test 2012-05-15 13:37:09 -07:00
Jukka Jylänki 25ecb68e56 Added Visual Studio 2010 solution and project files for the applications in tests/.
Building from VS2010 requires the vs-tool plugin, available at https://github.com/juj/vs-tool .
2012-05-15 21:17:05 +03:00
Alon Zakai c0f7841101 move test_emconfig to other 2012-05-15 10:59:30 -07:00
Alon Zakai 997ae35917 Merge pull request #426 from ehsan/em-config
Add the em-config tool
2012-05-15 10:58:20 -07:00
Ehsan Akhgari 2b2add4854 Add the em-config tool
This tool is useful to use in shell scripts, etc in order to access
variables defined in the ~/.emscripten file without depending on the
details on how to read and parse it.
2012-05-14 20:32:56 -04:00
Alon Zakai 2ad92403e5 allow nonexistent phis in another location + add test 2012-05-14 15:31:28 -07:00