aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-25Don't rewrite multiplication by 0 as 0.Bruce Mitchener
This isn't safe when floats are involved as -1 * 0 is -0, not 0.
2013-09-24Merge pull request #1629 from ngld/fix-ccallFunc-utf8Alon Zakai
Fix ccallFunc to properly support UTF-8 strings
2013-09-24sdl alpha testAlon Zakai
2013-09-24Fix entire surface alpha blending with SDL_SetAlphaRichard Quirk
2013-09-24Hide logging in Web Audio intended mostly for debugging.Jukka Jylänki
2013-09-24Fix bug where resuming SDL audio multiple times could cause multiple audio ↵Jukka Jylänki
event loops to be accumulated. Add a mechanism for avoiding buffer starving a bit better with Web Audio.
2013-09-24Make the tones shorter in duration to have the test harness not timeout (60 ↵Jukka Jylänki
seconds timeout duration) before all the beeps are finished.
2013-09-24Update the sdl audio beep test to new test_browser.py suite after rebase.Jukka Jylänki
2013-09-24Document Mozilla Audio Data API is used as a workaround.Jukka Jylänki
2013-09-24Allow compiling the sdl_audio_beep.cpp sample outside the browser test harness.Jukka Jylänki
2013-09-24Adjust SDL Web Audio API backend to make it work on Firefox nightly. Note ↵Jukka Jylänki
that this path is still disabled for Firefox, since Mozilla Audio Data API gives better sound quality.
2013-09-24Fix AUTHORS to have UTF-8 encoding.Jukka Jylänki
2013-09-24Make the time periods between beeps longer to be able to distinguish audio ↵Jukka Jylänki
quality better.
2013-09-24Explicitly disconnect generated audio buffers with Web Audio API to ↵Jukka Jylänki
guarantee no resources will be leaked. (not sure if this is necessary, but it uncovered a timing bug, and doesn't hurt to be safe)
2013-09-24Fix audio callback overflow problems by avoiding using ↵Jukka Jylänki
Browser.safeSetTimeout, and instead calling safeSetInterval to control the timing drift explicitly.
2013-09-24Improve the Web Audio callback buffer scheduling logic to stay ahead of ↵Jukka Jylänki
buffer underflow by at least more than one sample block.
2013-09-24Fix reporting of silence parameter in SDL audio api.Jukka Jylänki
2013-09-24Fix closure issues with Web Audio support in SDL.Jukka Jylänki
2013-09-24Improve SDL_OpenAudio support to work with the newest Web Audio API spec, ↵Jukka Jylänki
add better support for different SDL audio formats and sample rates. Add browser test for SDL audio beep sample.
2013-09-24Switched to single quotes for consistency.ILOVEPIE
Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
2013-09-24Fixed some stuff I forgot to change.ILOVEPIE
Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
2013-09-24Rewritten with audioBuffersILOVEPIE
Added myself to AUTHORS Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
2013-09-24Made the WebAudioAPI support slightly more efficient by removing some ↵ILOVEPIE
unnecessary channels. Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
2013-09-24Added WebAudioAPI output to mixer codeILOVEPIE
2013-09-24Merge pull request #1625 from ngld/dprintfAlon Zakai
Implemented dprintf. (Fixes #1250)
2013-09-24Merge pull request #1650 from rharkeadsk/dev/fix-printf-paddingAlon Zakai
Fix 3 issues with formatting (printf)
2013-09-24improve check for Float64Array; fixes #1651Alon Zakai
2013-09-24do not turn 0*x to 0 in the case of floats, since NaNs break there; fixes #1661Alon Zakai
2013-09-24Merge pull request #1656 from juj/gl_id_validationjuj
Gl id validation
2013-09-24Merge pull request #1643 from waywardmonkeys/fix-typoAlon Zakai
Fix typo in URL in warning message
2013-09-24Add more validation to the GL layer when GL_ASSERTIONS is enabled. This ↵Jukka Jylänki
catches and reports situations where user code passes nonexisting or deleted GL objects to texture/program/shader/framebuffer/renderbuffer functions, and yells out explicitly that the user code is not behaving properly.
2013-09-24Merge pull request #1658 from juj/WEBGL_depth_texturejuj
Webgl depth texture
2013-09-24Fix indentation in previous commit.Jukka Jylänki
2013-09-24Merge pull request #1660 from waywardmonkeys/fix-performance-regressionAlon Zakai
Fix performance regression
2013-09-24Mark __assert_fail as _Noreturn.Bruce Mitchener
This eliminates a performance regression caused in the box2d benchmark by switching to the musl headers. Without this being _Noreturn, clang / llvm generates much worse code involving phis and extra loads.
2013-09-24Enable WEBGL_depth_texture on GL context init. WEBGL_depth_texture is an ↵Jukka Jylänki
extension that adds support for 16-bit and 32-bit integer depth formats, as well as the packed d24s8 integer depth+stencil format. See http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
2013-09-23do not leak emcc args changes in test_casesAlon Zakai
2013-09-23forward noSafe in makeGet|SetValueAlon Zakai
2013-09-23optimize end of intertyperAlon Zakai
2013-09-23simplify chunk size determination in emscripten.pyAlon Zakai
2013-09-23handle EMCC_LEAVE_INPUTS_RAW in relooper bootstrapAlon Zakai
2013-09-23sort target labels in switches so output is consistently orderedAlon Zakai
2013-09-23write out file in standalone call to js_optimizer.pyAlon Zakai
2013-09-23fix split file markerAlon Zakai
2013-09-23asm coerce in atomicrmw; fixes #1637Alon Zakai
2013-09-23comment about LTO stabilityAlon Zakai
2013-09-23remove interim relooper builds if final bootstrap phase did not succeedAlon Zakai
2013-09-23relooper input is ascii, emit it to the heap more efficiently with ↵1.6.1Alon Zakai
writeAsciiToMemory
2013-09-23optimize string compares in getNativeTypeSizeAlon Zakai
2013-09-23optimize getNativeTypeSizeAlon Zakai