aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
AgeCommit message (Collapse)Author
2013-07-12only push proper canvases to canvas poolAlon Zakai
2013-07-11Merge pull request #1354 from fhd/fix-gc-pausesAlon Zakai
Fix GC pauses by reusing canvas elements
2013-07-11Add missing bracesFelix H. Dahlke
2013-07-11Document canvasPoolFelix H. Dahlke
2013-07-10Merge pull request #1363 from dtc/sdl-touchAlon Zakai
Add basic touch support that translates to mouse events.
2013-07-11Update the AUTHORS file, and address some code style issues.Douglas T. Crosher
2013-07-10Add comment.Jez Ng
2013-07-10Cast signedness in library_SDL functions.Jez Ng
2013-07-10Wrap gfx helpers in a $SDL_gfx object.Jez Ng
2013-07-10Add (failing) test for gfx primitives.Jez Ng
2013-07-10Avoid noisy error logs.Jez Ng
2013-07-10Add workaround for FF.Jez Ng
2013-07-10Implement ellipse drawing and refactor rect code.Jez Ng
2013-07-10Fix negative surface zooming.Jez Ng
2013-07-10Add basic touch support that translates to mouse events.Douglas T. Crosher
2013-07-09Bunch of changes to support Syobon Action.Jez Ng
2013-07-08Fix GC pauses by reusing canvas elementsFelix H. Dahlke
2013-06-24Removed unnecessary "audio.paused = " statements.Michael J. Bishop
2013-06-19Fixed error where SDL_Mixer would run out of channels because soundMichael J. Bishop
instances weren't removed when they were finished playing.
2013-06-17Fix SDL color encoding.Jez Ng
Little-endian + RGBA means that red is located at the lowest-order bits, not the highest. The hello_world_sdl test is now portable, because we no longer write to individual bytes. We also add a test for a completely blank screen, which should be black, not red. Closes #1287, #761, #765.
2013-06-17Merge pull request #1283 from juj/SDL_CreateRGBSurfaceFromAlon Zakai
Don't throw when SDL_CreateRGBSurfaceFrom is called, but at least give a...
2013-06-16Merge pull request #1282 from juj/sdl_addtimerAlon Zakai
Fix SDL_AddTimer dyncall signature. The timer callback is of form 'typed...
2013-06-13Add no-op SDL_WM_SetIcon.Jukka Jylänki
2013-06-13Don't throw when SDL_CreateRGBSurfaceFrom is called, but at least give an ↵Jukka Jylänki
uninitialized surface.
2013-06-13Fix SDL_AddTimer dyncall signature. The timer callback is of form 'typedef ↵Jukka Jylänki
Uint32 (SDLCALL * SDL_TimerCallback) (Uint32 interval, void *param);'.
2013-06-08 - Fix for mod property of SDL key eventsAnthony Pesch
- Added misc SDL functions (SDL_GetKeyName, SDL_GetAppState, SDL_SetGammaRamp) - Added modifiers to test_sdl_key
2013-06-07better erroring in SDL_Delay; issue #1255Alon Zakai
2013-06-05sdl fixes; fixes #1251Alon Zakai
2013-06-05return the best we can from SDL_OpenAudio, fixes #1253Alon Zakai
2013-05-29Free old surface before creating new oneAnthony Pesch
2013-05-22do not call code-running callbacks if ABORTing; fixes #1191Alon Zakai
2013-05-20Make looping behavior on effects match background music.James Gregory
2013-05-20According to http://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.pdf, 0 ↵James Gregory
is the only value for the loop argument that does not cause looping on Mix_PlayMusic. Update Emscripten's implementation to respect this.
2013-05-16fix test_sdl_alloctextAlon Zakai
2013-05-14* Switch to using offscren canvas for TTF size estimation in SDLJames Gregory
* use the actual font the user asked for.
2013-05-13use Browser mouse calculations in glutAlon Zakai
2013-05-13refactor mouse movement handling from SDL into BrowserAlon Zakai
2013-05-09misc sdl fixes to pull #1146Alon Zakai
2013-05-07* SDL_GL_ExtensionSupported: fixed integer valueMartin Gerhardy
* added myself to the AUTHORS file
2013-05-07* more SDL2 stuffMartin Gerhardy
2013-05-07* some SDL2 stuffMartin Gerhardy
2013-05-02fix SDL.keyboardState size to add safe buffer zoneAlon Zakai
2013-05-01unpress keys when losing focusAlon Zakai
2013-05-01preparation for key releasing when losing focus in SDLAlon Zakai
2013-03-30Support rotozoomSurfaceFelix H. Dahlke
2013-03-20fix indentationAlon Zakai
2013-03-19Make SDL handle the case where canvas backbuffer and canvas CSS element are ↵Vladimir Vukicevic
not the same size
2013-03-17optimize SDL.offsetsAlon Zakai
2013-03-17Fix offsets for canvasAleksander Guryanov
2013-03-12make sure SDL.channelMinimumNumber is initialized; fixes SDL audio testsAlon Zakai