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

1426 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai e1ea1076ab do not fail on -fcatch-undefined-behavior 2012-05-14 11:02:20 -07:00
Alon Zakai f09211d8ee fix active client attribute counting and add test 2012-05-13 21:17:23 -07:00
Alon Zakai 6b9545c1d2 fix order in gl_ModelViewProjectionMatrix and add working cube_explosion test 2012-05-13 15:13:18 -07:00
Alon Zakai b90a590f02 misc tweaks and add wip cube_explosion test 2012-05-13 13:01:45 -07:00
Alon Zakai 805574ef51 unenabled experimental registerization pass in js optimizer 2012-05-11 17:07:10 -07:00
Alon Zakai 8fe89680cb fix bug with missing entry labels being misused between original labels and numeric label ids, and add test 2012-05-11 14:42:25 -07:00
Alon Zakai dcb1a7a14c FS.createPreloadedFile 2012-05-11 10:42:53 -07:00
Alon Zakai 0941e64c4b support for gl_TextureMatrixes 2012-05-10 14:06:06 -07:00
Alon Zakai a7ef69ec6f allow adding runDependencies in preRun 2012-05-09 21:36:08 -07:00
Alon Zakai bb9317e1eb sscanf support for negative integers 2012-05-09 18:41:13 -07:00
Alon Zakai fe0e611026 various fixes and improvements to sscanf 2012-05-09 18:08:03 -07:00
Alon Zakai 0518ee039d fix bug with using color and normal even when not enabled, if they were enabled in the past 2012-05-09 11:17:21 -07:00
Alon Zakai a7590b8609 handle absolute paths in file preloading 2012-05-08 20:35:37 -07:00
Alon Zakai 053bb451f0 make test_cubegeom_mt a proper test of multitexturing 2012-05-07 18:45:05 -07:00
Alon Zakai 65e50a4c0c make glEnableClientState aware of the client active texture, and add a temporary fix for handling textures of size 2 in emulation 2012-05-07 17:29:51 -07:00
Alon Zakai be6481bc72 support for gl_Normal 2012-05-07 12:18:30 -07:00
Alon Zakai a4507e931b add full support for glColorX both in glBegin/End and out 2012-05-07 10:27:52 -07:00
Alon Zakai ccf2e41978 emscripten_pause_main_loop and resume 2012-05-06 18:04:12 -07:00
Alon Zakai 747ab04f39 make sdl event handling work in closure, and add testing 2012-05-05 20:13:27 -07:00
Alon Zakai efc736eccb refactor getProcAddress for closure 2012-05-05 18:45:10 -07:00
Alon Zakai 642819024e refactor gl code for closure compiler, and add more testing 2012-05-05 18:05:42 -07:00
Alon Zakai 09d02eb1fa color support in shaders and emulation 2012-05-05 15:26:13 -07:00
Alon Zakai 3651e7c0c0 support for SDL channels and channelFinished 2012-05-04 17:33:51 -07:00
Alon Zakai c9cf387c03 define proper endianness for endian.h and add working but slow-compiling sha1 test 2012-05-03 17:26:03 -07:00
Alon Zakai cc6763ec4e undef __linux__, fixes SDL endianness detection 2012-05-01 19:55:09 -07:00
Alon Zakai 50d59708df use requestAnimationFrame 2012-05-01 13:28:40 -07:00
Alon Zakai ec6ce2baf4 correct coordinate type in glRotate and add testing 2012-04-29 14:01:37 -07:00
Alon Zakai 4d3ceaac75 add working cubegeom test 2012-04-28 16:00:48 -07:00
Alon Zakai 6733bb59e4 fix handling of non-float client attributes, and add test_cubegeom_pre3 2012-04-28 15:57:10 -07:00
Alon Zakai 6f0dc01e47 disable debug in test_cubegeom_pre 2012-04-28 13:26:55 -07:00
Alon Zakai 4ef4193134 add test_cubegeom_pre2 2012-04-28 13:25:44 -07:00
Alon Zakai 13f90869ae fix prepareClientAttributes bugs: handle non-packed vertex attributes properly 2012-04-28 13:22:18 -07:00
Alon Zakai 30bf9d7005 add cubegeom_pre test, a more webgl-friendly cubegeom 2012-04-27 16:13:58 -07:00
Alon Zakai 29166d6252 handle GL_INFO_LOG_LENGTH 2012-04-27 14:28:08 -07:00
Alon Zakai 21b80fd96a gl_Color workaround, and add gl_ps test which uses client pointers + a shader 2012-04-25 20:19:25 -07:00
Alon Zakai 6f0decb1c5 fix a_texCoord* usage, and use current program texture setup if present ; some texture rendering in cubegeom test 2012-04-25 11:09:15 -07:00
Alon Zakai c7bed7ab29 cubegeom matrix stuff 2012-04-24 20:55:23 -07:00
Alon Zakai d526babf96 clean up gl emulation flush, remove unneeded and incorrect bindings 2012-04-24 18:15:58 -07:00
Alon Zakai 3ef18246fc gix glLoadMatrix and related functions and add testing 2012-04-24 14:40:06 -07:00
Alon Zakai 25893baacf fix cubegeom shader compilation error 2012-04-24 11:44:48 -07:00
Alon Zakai a32ac16a6c clean up cubegeom 2012-04-23 20:41:48 -07:00
Alon Zakai 41bc8a9c14 Merge pull request #381 from SiggyBar/library
Added strtold and strtod_l/strtold_l stubs.
2012-04-23 18:26:46 -07:00
Alon Zakai 4d70c93726 make cubegeom build both natively and with emscripten 2012-04-23 17:50:11 -07:00
Alon Zakai 7a066b458e finish current immediate+shader work, add sdlglshader test 2012-04-23 17:30:21 -07:00
Alon Zakai 3dae3f640d improve new browser test syntax 2012-04-23 16:19:55 -07:00
Alon Zakai 8246b58cf7 stop disabling spidermonkey -n in test runner 2012-04-23 11:59:48 -07:00
Alon Zakai d0f65558b6 start of nicer browser test boilerplate 2012-04-23 11:36:44 -07:00
Alon Zakai 5a56a30886 get something to show up in cubegeom native build 2012-04-23 10:30:11 -07:00
Sigmund Vik 1f56294205 Fix to strtod_l and add test case for strtold.
(The test case is reusing test_strtod, when we implement real support
for long double we should add a separate test case for this.)
2012-04-23 16:13:43 +02:00
Alon Zakai 37d587c3aa fix sdl key stuff and more more support 2012-04-22 20:53:30 -07:00
Alon Zakai fe509fc32f clean up cubegeom 2012-04-22 18:37:03 -07:00
Alon Zakai e2fe212ee7 add second texture to cubegeom test 2012-04-22 18:28:49 -07:00
Alon Zakai 5659fe6a94 more sdl keys 2012-04-22 18:17:16 -07:00
Alon Zakai 019463d050 improve sqlite test 2012-04-22 15:43:06 -07:00
Alon Zakai b20dc26624 fix cubegeom compilation errors 2012-04-22 12:37:09 -07:00
Alon Zakai e9f38148db annotate cubegeom a little 2012-04-22 12:30:11 -07:00
Alon Zakai cde3be6b08 add buffer data to cubegeom test 2012-04-22 11:39:56 -07:00
Alon Zakai 050d86c3d4 wip cubegeometry test 2012-04-22 10:04:19 -07:00
Alon Zakai cc6a068830 support extraction of i64 values in ta2, and partial support for llvm_uadd_with_overflow_i64 2012-04-21 12:18:21 -07:00
Alon Zakai 872f6a4fb1 clean up immediate mode code and optimize to not use indexes when not necessary 2012-04-19 17:32:54 -07:00
Alon Zakai bfc6f99f7d add single-color immediate mode test (with wrong color, but better than nothing) 2012-04-19 16:48:32 -07:00
Alon Zakai 8303c637cd refactor immediate mode code 2012-04-19 16:35:14 -07:00
Alon Zakai 3d706595b2 Merge pull request #359 from prenaux/develop
library.js, added llvm_invariant_start/end & llvm_bswap_i16 ; hello_world_gles.c, added F11 for fullscreen ;
2012-04-19 13:51:33 -07:00
Alon Zakai a00c76524c zext sign correction for bitcasting from <32 bits to i64 2012-04-19 11:06:23 -07:00
Alon Zakai 8cbede32db clearer warnings on casts that change the number of function parameters 2012-04-19 10:36:01 -07:00
Alon Zakai 3b725e2f95 add emscripten_async_run_script 2012-04-19 09:50:32 -07:00
Alon Zakai c3570e2549 adjust test_emcc_caching for llvm 3.1: libc++ is smaller now 2012-04-19 08:14:54 -07:00
Pierre Renaux cceaa759b4 [tests/hello_world_gles.c]: Added F11 to go in fullscreen mode (to test the glutFullScreen implementation) ; 2012-04-19 11:48:57 +08:00
Alon Zakai 1c11fdd985 merge 2012-04-18 19:22:09 -07:00
Alon Zakai adde613fd2 do not exit the runtime if doing anything async 2012-04-18 18:13:27 -07:00
Alon Zakai 327b6f859e some support for SDL_PeepEvents 2012-04-17 21:18:17 -07:00
Alon Zakai 735637e9a1 add emscripten_async_call 2012-04-17 20:32:14 -07:00
Alon Zakai 99da134048 fix closure issues with exception handling, and add test coverage 2012-04-17 11:14:58 -07:00
Alon Zakai 396cb4f707 fix sscanf handling of ends of %s 2012-04-16 21:19:28 -07:00
Ehsan Akhgari d0f27efe13 Build the lzma-native binary if needed 2012-04-16 12:08:39 -04:00
Alon Zakai c24e5c28db add working test_sdl_ogl_p 2012-04-15 21:12:05 -07:00
Alon Zakai 1166d8bb90 add disabled sdl_ogl_p test as the next target 2012-04-15 15:36:23 -07:00
Alon Zakai 2fe9f7e20d fix sdl_ogl.c for native builds 2012-04-15 15:19:45 -07:00
Alon Zakai 953323e80a fix makeSetValue on complex structural types, fixes #386 2012-04-14 20:51:13 -07:00
Alon Zakai e2802c2f72 support js arrays as inputs in ccall 2012-04-14 20:13:28 -07:00
Alon Zakai 2886822f48 fix for test_sdl_ogl 2012-04-14 13:28:43 -07:00
Alon Zakai 0d3524b29e retrieve pixel data from IMG_Load, for maximum compatibility 2012-04-14 11:41:23 -07:00
Alon Zakai 21b34fed2d support for GL_TRIANGLE_STRIP 2012-04-14 10:28:17 -07:00
Alon Zakai b5e53f4e17 --js-library option to make it easy to add additional library_*.js files 2012-04-13 18:57:41 -07:00
Alon Zakai ef59099ffc sdl pageup/down 2012-04-13 17:54:28 -07:00
Ehsan Akhgari 0e234f6c2e Merge remote-tracking branch 'upstream/incoming' into glmatrix
Conflicts:
	src/library_gl.js
2012-04-13 18:27:37 -04:00
Ehsan Akhgari 51a81a7ccf Enable test_sdl_ogl 2012-04-13 18:25:58 -04:00
Ehsan Akhgari 5edc8d89a3 Lock and unlock the surface to access the raw pixel data 2012-04-13 18:18:23 -04:00
Sigmund Vik 8a93b915fc Make more browser tests work for Windows. 2012-04-13 15:51:19 +02:00
YeZhongWen 336f05f369 Add test case for strlwr/strupr 2012-04-13 13:36:34 +08:00
Alon Zakai 3818506c0f add glReadPixels and sdl/gl test for it 2012-04-12 20:36:39 -07:00
Alon Zakai bcb3d31c4c prepare for sdl/ogl test 2012-04-12 17:14:21 -07:00
Alon Zakai 8e915a87f3 files for sdl/ogl immediate mode test 2012-04-12 17:13:00 -07:00
Alon Zakai 5301539180 fix EM_SAVE_DIR 2012-04-12 14:05:21 -07:00
Alon Zakai 064b0c7d73 nicer browser test harness text 2012-04-12 11:32:39 -07:00
Alon Zakai 619ab111bd Merge pull request #374 from SiggyBar/build-env-2
Make it easier to use emscripten from a build system.
2012-04-12 11:20:34 -07:00
Alon Zakai 69a6582e46 make test_worker completely automatic 2012-04-11 16:09:52 -07:00
Alon Zakai eccc51856e make test_html a reftest 2012-04-11 15:38:30 -07:00
Alon Zakai 319020f107 update test_structbyval 2012-04-11 15:10:06 -07:00
Alon Zakai 9d26ce563f clean up gears tests 2012-04-11 13:31:12 -07:00
Sigmund Vik 0d2a2e4b97 A more accurate output message in test case in sanity.test_emcc 2012-04-11 21:32:20 +02:00
Sigmund Vik 99c46475c1 Make it easier to use emscripten from a build system.
- Allow the configuration to be specified directly in the EM_CONFIG
environment variable instead of in a config file.  The config file
approach has some shortcomings when using emscripten from a build
system (e.g. it uses a single global config file so it is hard to
configure emscripten in different ways from different build trees).
The presence of newlines in the EM_CONFIG string variable is used
to decide if the configuration is stored directly in the environment
variable or it is used to specify the config file (is this too much
of a hack?).

- Skip check_sanity() and check_engine() based on the presence of
the config file.  When running from a build system, it is the build
system's responsibility that everything is set up correctly.  Maybe
a new environment variable EM_SKIP_CHECKS or something like that
might be better to decide whether or not to run these checks?

- Do not assume that the SPIDERMONKEY_ENGINE environment variable
is set.

- Add EM_CACHE environment variable that can be used to control
where emscripten should store built libraries.
2012-04-11 21:25:18 +02:00
Alon Zakai 306b4ecb79 show some progress in browser test harness 2012-04-11 11:53:11 -07:00
Alon Zakai 3b6853f50b close browser test windows in almost all tests, making the browser tests much more automatic 2012-04-11 11:47:42 -07:00
Alon Zakai 9de35128d8 fix sdl pitch bug 2012-04-10 17:08:25 -07:00
Alon Zakai 33db680552 fix sanity.test_emcc_caching 2012-04-10 08:45:34 -07:00
Alon Zakai 86097bafbe init runtime immediately, so that even with noInitialRun we can still call filesystem-using functions and they will work 2012-04-09 20:47:55 -07:00
Alon Zakai fa30724151 experimental support for inline js 2012-04-09 17:54:25 -07:00
Alon Zakai 7d71275571 Merge pull request #370 from brson/frem
Support frem instruction
2012-04-09 15:33:26 -07:00
Alon Zakai 584ab7bf76 Merge pull request #367 from ehsan/gears_animation_reftest
Gears animation reftest
2012-04-09 15:24:35 -07:00
Alon Zakai e0bf9210e8 allow anonmyous empty structs 2012-04-09 15:17:11 -07:00
Brian Anderson a288f14b9c Support frem instruction 2012-04-09 14:40:45 -07:00
Ehsan Akhgari a1a6fcf442 Restore the es2gears animation
This makes sure that the GLUT-based animation infrastructure continues
to work in the future.
2012-04-09 17:24:38 -04:00
Alon Zakai 1e5ce6cb08 clarify test runner instructions 2012-04-09 12:25:30 -07:00
Alon Zakai 4c41436807 fix sdl pixelformat 2012-04-08 13:41:07 -07:00
Alon Zakai 99dd381e07 clean up linker a.out|exe stubs 2012-04-08 12:27:26 -07:00
Alon Zakai 39e8885634 add support for quoted labels; fixes #360 2012-04-08 11:07:35 -07:00
Alon Zakai 0a1110333a support for sdl scancodes 2012-04-08 09:34:51 -07:00
Alon Zakai d12dd0c3eb handle dollar in alias names 2012-04-07 21:21:07 -07:00
Alon Zakai ae1cb6d7ec handle identical basenames in emcc properly; fixes #287 2012-04-07 20:42:02 -07:00
Alon Zakai 0266e05582 restore support for noInitialRun 2012-04-06 17:25:09 -07:00
Alon Zakai 6af006a177 add original versions of glbook tests, gles2.0 and not webgl-friendly 2012-04-06 11:34:42 -07:00
Alon Zakai dc898cd7f2 update test_emcc for windows 2012-04-05 17:15:02 -07:00
Alon Zakai 0ada5d1ce1 Merge pull request #355 from SiggyBar/windows
Fixes to test_emcc for Windows.
2012-04-05 17:02:11 -07:00
Alon Zakai f8c938e924 add final glbook test 2012-04-05 16:39:22 -07:00
Alon Zakai 43a676c172 fix ccall test to make sure we export the functions properly to closure 2012-04-05 14:51:32 -07:00
Alon Zakai c3f11717a5 Merge pull request #356 from behdad/outgoing
Make gears animate again
2012-04-05 14:05:06 -07:00
Behdad Esfahbod 7b3201eba1 Don't clash with system sincos() if it's defined and we don't know 2012-04-05 15:39:01 -04:00
Alon Zakai 270e442e15 Merge pull request #354 from behdad/fix-keyboard
More GLUT fixes
2012-04-05 12:16:32 -07:00
Alon Zakai 8019523baf Merge pull request #353 from ehsan/stddev_extension
Stddev extension
2012-04-05 12:09:14 -07:00
Behdad Esfahbod efa4948382 Use system sincos() if available 2012-04-05 14:10:23 -04:00
Sigmund Vik 55c6a4aae4 Fixes to test_emcc for Windows.
Unfortunately one of the optimization cases still fails:
(['-o', 'something.js', '-O3', '--closure', '0'], 3, None, 0, 0)

for this assert:
assert 'HEAP8[HEAP32[' in generated or 'HEAP8[$vla1 + (($storemerge4 | 0) / 2 & -1) | 0]' in generated or 'HEAP8[$vla1 + (($storemerge4 | 0) / 2 & -1) | 0]' in generated or 'HEAP8[$vla1 + (($i_04 | 0) / 2 & -1) | 0]' in generated or 'HEAP8[$vla1 + ($i_04 / 2 & -1)]' in generated or 'HEAP8[$1 + (($i_01 | 0)/ 2 & -1) | 0]' in generated or 'HEAP8[$1 + (($i_01 | 0) / 2 & -1) | 0]' in generated, 'eliminator should create compound expressions, and fewer one-time vars'

The generated string is:
http://pastebin.com/cmgE1fJt

The corresponding generated string for the -O2 test cases is:
http://pastebin.com/4FiHLgPG
2012-04-05 16:54:03 +02:00
Behdad Esfahbod 1a3f245ee6 Fix glutIdleFunc()
glutIdleFunc() is auto-repeating until cancelled.
2012-04-05 02:13:12 -04:00
Behdad Esfahbod bcafbea2fc Make gears demo request animation frames 2012-04-05 01:53:20 -04:00
Behdad Esfahbod 448b5333eb Make hello_world_gles build on the Mac natively
Useful for testing only.
2012-04-05 01:41:42 -04:00
Ehsan Akhgari ab132fdcc4 Add a test for the standard derivatives extension 2012-04-04 22:53:10 -04:00
Alon Zakai 12e45ea324 add yet another working glbook testcase 2012-04-04 17:11:39 -07:00
Alon Zakai f4be2e8e34 add another glbook passing testcase 2012-04-04 15:04:18 -07:00
Alon Zakai b52ad77314 readme for cube2hash testcase 2012-04-04 14:59:39 -07:00
Alon Zakai dae9bdf052 add test for looking for a bitcode lib if a specified lib is not bitcode 2012-04-04 11:45:38 -07:00
Alon Zakai 775e50619c throw an exception in glutMainLoop, to prevent atexits from running 2012-04-03 20:44:43 -07:00
Alon Zakai 3879a0c9ce allow more reftest margin of error 2012-04-03 16:46:57 -07:00
Alon Zakai 80ed60983b add another working glbook testcase 2012-04-03 16:23:24 -07:00
Alon Zakai 9cc7f9fa7a allow 1/255 color error in reftests, to ignore aliasing 2012-04-03 15:45:24 -07:00
Alon Zakai e419c0a9bb missing reftest file 2012-04-03 14:21:56 -07:00
Alon Zakai 0a1c635b5a add another working glbook test 2012-04-03 13:27:54 -07:00
Alon Zakai f15ac75d9c make glut main loop throw again, and fix test_glgears 2012-04-02 19:54:17 -07:00
Alon Zakai 4b32536246 fix test_glgears 2012-04-02 16:46:51 -07:00
Alon Zakai 385457fd62 add second working glbook test 2012-04-02 16:26:54 -07:00
Alon Zakai f4beeea040 make precise i64 math the default 2012-04-02 13:55:49 -07:00
Alon Zakai d061071c37 only include i64 precise code if it will actually be used 2012-04-02 13:20:20 -07:00
Alon Zakai 1823aaf13b test fixes 2012-04-02 07:27:54 -07:00
Alon Zakai 3c4fc41864 fix parsing of i64 constants in globals, and add working cube2hash testcase 2012-04-01 20:23:17 -07:00
Alon Zakai 4401a0b0e4 improve i64 precise test 2012-04-01 18:18:57 -07:00
Alon Zakai 609bf2ea07 proper precise unsigned i64 modulo, and passing tests for i64 division and modulo 2012-04-01 18:14:46 -07:00
Alon Zakai 18a0209837 use bignum for unsigned i64 precise division 2012-04-01 18:08:14 -07:00
Alon Zakai 16c9bd517a add jsbn bignum library, fixes printing of unsigned precise i64s 2012-04-01 15:45:03 -07:00
Alon Zakai 7455fa112b work towards unsigned precise i64s: add, subtract and multiply work but divide and modulo do not; printing is rounded 2012-04-01 14:34:26 -07:00
Alon Zakai b215efb7c1 support for precise i64 signed math 2012-04-01 12:33:37 -07:00
Alon Zakai aa601bc999 add reftest mechanism for browser tests, and complete glbook test 1 2012-03-31 21:04:59 -07:00
Alon Zakai 2bd993afce almost working first glbook test 2012-03-31 19:44:57 -07:00
Alon Zakai 08c5da62a0 add glbook files 2012-03-31 18:09:04 -07:00
Alon Zakai 3bb7818644 library additions in preparation for glbook tests 2012-03-31 18:07:38 -07:00
Alon Zakai f44fb9d1ff test cleanup 2012-03-31 15:20:14 -07:00
Alon Zakai 118ff4ea7e separate browser tests into separately-runnable browser set 2012-03-31 15:03:55 -07:00
Alon Zakai 09f1691fcb update test_emcc 2012-03-31 14:47:24 -07:00
Alon Zakai fb73ea274e remove unneeded gl tests 2012-03-31 14:31:35 -07:00
Alon Zakai f485a33d65 fix -M -MM to add emcc compiler flags 2012-03-31 13:49:58 -07:00
Alon Zakai 7ffc6a36a2 add additional testcase from issue 324 2012-03-31 11:54:19 -07:00
Alon Zakai 231b619286 do not consider division safe for |0 removal, and add testcase 2 from issue 324 2012-03-31 11:37:20 -07:00
Alon Zakai f0427fc434 fix test_isdigit_l 2012-03-31 09:38:24 -07:00
Alon Zakai 5495f8c617 test runner message about non-main parts 2012-03-30 22:37:13 -07:00
Alon Zakai 3b7d149de6 Merge pull request #328 from ehsan/ogre_upstream
Upstream the work I did for porting Ogre
2012-03-30 20:15:32 -07:00
Alon Zakai f3bffe4b06 basic support for -M and -MM 2012-03-29 21:14:53 -07:00
Alon Zakai 2416d19b0b bundle preloaded files also when not compressing them 2012-03-29 13:39:53 -07:00
Alon Zakai 0681cc883f update test_emcc 2012-03-29 08:47:37 -07:00
Alon Zakai c59be6c704 add testcase for issue 324 2012-03-28 18:12:35 -07:00
Alon Zakai 2aeafa0df7 properly implement llvm_uadd|mul_with_overflow_i32 2012-03-28 18:00:25 -07:00
Alon Zakai 054b2403e9 do not use impure stuff for stdin etc, it makes comparing to native builds harder 2012-03-28 15:00:58 -07:00
Ehsan Akhgari 83ac9ca2ec Implement isdigit_l and isxdigit_l
We ignore the locales for now
2012-03-28 10:58:41 -07:00
Alon Zakai 5c9d9498ee rename alloca/stack tests 2012-03-28 10:08:42 -07:00
Alon Zakai f0afec555e fix two bugs with rendering pixel data to SDL: flip R and B to match native behavior, and ignore alpha when rendering to the screen as also done in native behavior 2012-03-27 16:21:44 -07:00
Alon Zakai f88f3af217 do not use blob constructor if not present, and closure workaround 2012-03-27 15:39:35 -07:00
Alon Zakai 7450114c4d support wav and mp3 audio suffixes too 2012-03-27 13:24:49 -07:00
Alon Zakai e39cb11407 add audio test file 2012-03-27 12:14:09 -07:00
Alon Zakai d73a1a9680 add sounds for test 2012-03-27 12:13:42 -07:00
Alon Zakai b4dcd8daa2 support for playing audio chunks through SDL mix 2012-03-27 11:59:12 -07:00
Alon Zakai 825407da4f compress all data files into one big file 2012-03-26 16:42:43 -07:00
Alon Zakai 0540b2cd86 disable alpha in font rendering 2012-03-25 09:17:30 -07:00
Alon Zakai 3d4bee26b5 fix sdl alpha 2012-03-25 08:51:38 -07:00
Alon Zakai a7bc331fac support for rgba in sdl 2012-03-24 19:33:06 -07:00
Alon Zakai 1fec3101dd properly match SDL mousebuttons to DOM buttons 2012-03-24 16:25:06 -07:00
Alon Zakai eb3f5116a5 make mouse events relative to canvas, and at right frequency 2012-03-24 15:48:15 -07:00
Alon Zakai 6ad919104f SDL mouse support and emscripten_set_main_loop 2012-03-24 15:04:41 -07:00
Alon Zakai 40291258f6 SDL_SizeText and some refactoring 2012-03-23 21:50:10 -07:00
Alon Zakai 339ae3f794 optimize SDL_FillRect 2012-03-23 18:42:42 -07:00
Alon Zakai 6b2a2b6c8a fix sdl keyboard input and add a test 2012-03-23 16:38:08 -07:00
Alon Zakai 6a3c3938cd minimal support for SDL text rendering 2012-03-23 12:02:59 -07:00
Alon Zakai a7573355db improve sdl image test to include blits of nonequal size surfaces 2012-03-23 10:27:42 -07:00
Alon Zakai 5a57636c45 rename some tests 2012-03-23 10:18:06 -07:00