Wed, 30 Jan 2019 17:16:08 +0100Fix blit with blending (Blit_A) to RGB332 which has no palette
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 30 Jan 2019 17:16:08 +0100] rev 12585
Fix blit with blending (Blit_A) to RGB332 which has no palette

Wed, 30 Jan 2019 16:36:47 +0100Fixed failing SDL_ConvertSurface() when blit has failed.
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 30 Jan 2019 16:36:47 +0100] rev 12584
Fixed failing SDL_ConvertSurface() when blit has failed.

Some blit combination are not supported (eg ARGB8888 -> SDL_PIXELFORMAT_INDEX1MSB)
So prevent SDL_ConvertSurface from creating a broken surface, which cannot be blitted

Wed, 30 Jan 2019 15:31:07 +0100Add explicit unsigned int and char types in (for bug 4290)
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 30 Jan 2019 15:31:07 +0100] rev 12583
Add explicit unsigned int and char types in (for bug 4290)

Wed, 30 Jan 2019 15:23:33 +0100Fixed bug 4290 - add fastpaths for format conversion in BlitNtoN
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 30 Jan 2019 15:23:33 +0100] rev 12582
Fixed bug 4290 - add fastpaths for format conversion in BlitNtoN

All following conversion are faster (no colorkey, no blending).
(ratio isn't very accurate)

ABGR8888 -> ARGB8888 : faster x6 (2655837 -> 416607)
ABGR8888 -> BGR24 : faster x7 (2470117 -> 325693)
ABGR8888 -> RGB24 : faster x7 (2478107 -> 335445)
ABGR8888 -> RGB888 : faster x9 (3178524 -> 333859)

ARGB8888 -> ABGR8888 : faster x6 (2648366 -> 406977)
ARGB8888 -> BGR24 : faster x7 (2474978 -> 327819)
ARGB8888 -> BGR888 : faster x9 (3189072 -> 326710)
ARGB8888 -> RGB24 : faster x7 (2473689 -> 324729)

BGR24 -> ABGR8888 : faster x6 (2268763 -> 359946)
BGR24 -> ARGB8888 : faster x6 (2306393 -> 359213)
BGR24 -> BGR888 : faster x6 (2231141 -> 324195)
BGR24 -> RGB24 : faster x4 (1557835 -> 322033)
BGR24 -> RGB888 : faster x6 (2229854 -> 323849)

BGR888 -> ARGB8888 : faster x8 (3215202 -> 363137)
BGR888 -> BGR24 : faster x7 (2474775 -> 347916)
BGR888 -> RGB24 : faster x7 (2532783 -> 327354)
BGR888 -> RGB888 : faster x9 (3134634 -> 344987)

RGB24 -> ABGR8888 : faster x6 (2229486 -> 358919)
RGB24 -> ARGB8888 : faster x6 (2271587 -> 358521)
RGB24 -> BGR24 : faster x4 (1530913 -> 321149)
RGB24 -> BGR888 : faster x6 (2227284 -> 327453)
RGB24 -> RGB888 : faster x6 (2227125 -> 329061)

RGB888 -> ABGR8888 : faster x8 (3163292 -> 362445)
RGB888 -> BGR24 : faster x7 (2469489 -> 327127)
RGB888 -> BGR888 : faster x9 (3190526 -> 326022)
RGB888 -> RGB24 : faster x7 (2479084 -> 324982)

Tue, 29 Jan 2019 12:21:22 +0000Emscripten: No need for Runtime. for dynCalls
Alon Zakai <alonzakai@gmail.com> [Tue, 29 Jan 2019 12:21:22 +0000] rev 12581
Emscripten: No need for Runtime. for dynCalls

Tue, 29 Jan 2019 12:19:36 +0000Emscripten: Avoid SDL2 in JS global scope
Alon Zakai <alonzakai@gmail.com> [Tue, 29 Jan 2019 12:19:36 +0000] rev 12580
Emscripten: Avoid SDL2 in JS global scope
After this fix, closure works with the LLVM wasm backend on SDL2.

Tue, 29 Jan 2019 12:19:32 +0000Emscripten: remove GLES_DeleteContext implementation
Charlie Birks <charlie@daftgames.net> [Tue, 29 Jan 2019 12:19:32 +0000] rev 12579
Emscripten: remove GLES_DeleteContext implementation
It was calling glClear without a context. The issue it was trying to
solve was actually that after destroying a window and creating a new one
, the contents of the old window were preserved. This no longer happens
since we resize the window to nothing on destroy.

Tue, 29 Jan 2019 12:19:23 +0000Emscripten: resize canvas to 0x0 in DestroyWindow
Charlie Birks <charlie@daftgames.net> [Tue, 29 Jan 2019 12:19:23 +0000] rev 12578
Emscripten: resize canvas to 0x0 in DestroyWindow
Closest we can get to actually destroying it

Tue, 29 Jan 2019 12:19:06 +0000Emscripten: don't zero the display mode before adding it
Charlie Birks <charlie@daftgames.net> [Tue, 29 Jan 2019 12:19:06 +0000] rev 12577
Emscripten: don't zero the display mode before adding it

Tue, 29 Jan 2019 12:19:03 +0000Emscripten: use UTF8ToString instead of Pointer_stringify
Charlie Birks <charlie@daftgames.net> [Tue, 29 Jan 2019 12:19:03 +0000] rev 12576
Emscripten: use UTF8ToString instead of Pointer_stringify