aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
AgeCommit message (Collapse)Author
2014-06-23Merge branch 'incoming' into proxyGLAlon Zakai
2014-06-20fake requestAnimationFrame properlyAlon Zakai
2014-06-20[browser library] Fix error in strict mode.Bruce Mitchener
2014-06-19do not recreate GL contextAlon Zakai
2014-06-19set window.scrollX|Y in workers to a fake 0Alon Zakai
2014-06-19assume pointer lock in workers, to get some mouse support workingAlon Zakai
2014-06-18commentAlon Zakai
2014-06-17remove gl debug object identificationAlon Zakai
2014-06-17make it easy to use GL debug logging in workers as wellAlon Zakai
2014-06-16skip a frame if Module.preMainLoop returns falseAlon Zakai
2014-06-16Merge branch 'incoming' into proxyGLAlon Zakai
2014-06-16share main loop iter logic with emscripten_*_loop and glutAlon Zakai
2014-06-13fix requestAnimationFrame polyfill in proxied workersAlon Zakai
2014-06-09call preMainLoop/postMainLoop from glutAlon Zakai
2014-06-06fix relative pathsCharlie Birks
2014-06-05changes from reviewCharlie Birks
2014-06-05Add missing returnCharlie Birks
2014-06-05add emscripten_get_preloaded_image_dataCharlie Birks
2014-05-13Merge pull request #2348 from juj/context_lostAlon Zakai
WebGL context loss handling improvements.
2014-05-13Merge pull request #2353 from mhenschel/masterAlon Zakai
emscripten_async_wget2 progress callback only working on mozilla browsers
2014-05-13fix progress events for non mozilla browsersmhenschel
Progress events didn't work for me in Chrome or IE. This change fixes it for me.
2014-05-12Merge branch 'sdl_mouse_wheel' of github.com:jechter/emscripten into incoming1.18.1Alon Zakai
Conflicts: emscripten-version.txt
2014-05-12fix file argument changing before callback in async_wget; fixes #2349Alon Zakai
2014-05-12Remove the hardcoded alert message on WebGL context loss event in ↵Jukka Jylänki
library_browser.js, since it prevents applications from benignly handling WebGL context loss events by reloading GL assets from disk.
2014-05-11Code conventions and sign fix according to pull request feedbackjonas echterhoff
2014-05-09Bring back old style SDL scroll events represented as mouse buttons; Support ↵jonas echterhoff
newer 'wheel' event to support Chrome; Support vertical as well as horizontal deltas.
2014-05-02document and assert on only one browser main loop at a timeAlon Zakai
2014-04-29do not exit runtime if safeSetTimeout|Interval are calledAlon Zakai
2014-04-24if no canvas, do not set up canvas event listenersAlon Zakai
2014-04-13Apply kripken's code formatting review to michaeljbishop's SDL2 touch pull ↵Jukka Jylänki
request.
2014-04-13Added preliminary support for the SDL2 touch api. Missing items:Michael Bishop
1. Timestamps 2. TouchID (the Device ID) As inline with the SDL spec, we will pass a touch ID of `SDL_TOUCH_MOUSEID` for touch events that are simulated by the mouse so games can rely solely on touch events if they like. Includes the SDL2 Copyright notice on the headers that contain SDL2 content. Includes a fix to SDL_PeepEvents.
2014-03-07Implement emscripten_async_wget2_dataJoel Croteau
This adds the new function emscripten_async_wget2_data to read from an XMLHTTPRequest directly into memory while supporting advanced features.
2014-03-06Fixed full screen closing immediatelyDerKoun
Fixed full screen closing immediately because of canvas container not being defined.
2014-03-03Merge branch 'allow_multiple_worker_responses' of ↵Alon Zakai
github.com:virusdave/emscripten into incoming Conflicts: AUTHORS
2014-03-03Allow multiple worker responses (via messages) if desired.Dave Nicponski
Add unit test for multiple worker responses. Test command: python tests/runner.py browser.test_worker_api_3 Add self to authors file.
2014-02-28fix some whitespaceAlon Zakai
2014-02-28Merge branch 'incoming' of ↵Alon Zakai
github.com:DerKoun/emscripten-fullscreen-improvements into incoming Conflicts: AUTHORS
2014-02-28Full screen fixes (aspect ratio & IE11) & AR optDerKoun
Full screen image now has correct aspect ratio (parent of canvas is full screen root, canvas size is adapted via styles). Full screen now works properly in Internet Explorer 11. It is now possible to optionally force a specific aspect ratio for the canvas (canvas size is adapted via styles, ratio for now has to be set manually in compiled JS).
2014-02-21strict fix: Don't define functions within conditionals or try blocks.Bruce Mitchener
2014-02-18add a version of emscripten_set_main_loop where the main loop takes an ↵Alon Zakai
argument; fixes #2114
2014-02-11refactor mouse wheel handling code to be shared across SDL, glfw, glutAlon Zakai
2014-02-10keep runtime alive if workers are calledAlon Zakai
2014-02-10keep runtime alive if we call async_prepare*Alon Zakai
2014-02-06warn when rendering without setAnimationFrameAlon Zakai
2014-01-15Optimize rendering from client-side memory by maintaining a set of ↵Jukka Jylänki
doublebuffered VBOs. This improves performance by reducing CPU-GPU pipeline stalls.
2014-01-09Simplify verbose object dereference hierarchy in library_gl.js by storing ↵Jukka Jylänki
global WebGL context in the variable GLctx in addition to Module.ctx.
2014-01-03Update library_browser.jsonnoj
2014-01-02Fixed undefined check.onnoj
Forgot I had to explicitly check the type of variable type to see if it's undefined.
2014-01-02Added comments & assert to scrollX fix.onnoj
Added comments to fix as per @kripken's request. Added an assert too (guarded by ASSERTIONS define)
2013-12-23Added workaround for window.scrollX compat.onnoj
window.scrollX/Y is not available in IE11. As far as specifications go, is currently only specified in draft (http://dev.w3.org/csswg/cssom-view/#refsCSSOM). Falling back to window.pageXOffset seems like a good workaround. On a related note; my Emscriptified project runs on IE11 although performance is very poor (mostly due to Internet Explorer itself, I think). It's pretty finicky about the shaders, as they introduced an extra set of requirements. (inout/in/out keywords not supported, can't construct mat3 from mat4, etc).