summaryrefslogtreecommitdiff
path: root/tests/sdl_canvas.c
AgeCommit message (Collapse)Author
2014-02-25Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.Dan Gohman
2014-01-03[SDL] Fixing SDL_UnlockSurface in IE10/IE11.John Vilk
Previously, just calling SDL_UnlockSurface in IE10/IE11 would throw an exception, since Emscripten assumed that the ImageData's `data` property was Uint8ClampedArray, which has a backing buffer. IE10/IE11 still uses the deprecated CanvasPixelArray, which does not have a backing buffer property: https://developer.mozilla.org/en-US/docs/Web/API/CanvasPixelArray I've added an additional path to SDL_UnlockSurface for these browsers.
2013-08-25emscripten_get_canvas_size testcaseToadKing
2013-06-18Missed out making some tests portable.Jez Ng
2013-05-16fix font rendering in test_sdl_canvasAlon Zakai
2012-11-13headless optionAlon Zakai
2012-07-25allow apps to link both GL and SDL 2D backends and use just oneAlon Zakai
2012-03-25disable alpha in font renderingAlon Zakai
2012-03-25fix sdl alphaAlon Zakai
2012-03-24support for rgba in sdlAlon Zakai
2012-03-23SDL_SizeText and some refactoringAlon Zakai
2012-03-23optimize SDL_FillRectAlon Zakai