I tend to agree, we should have SDL2 as the recommended cross-platform
toolkit for people to use (alongside Jukka's HTML5-specific API), in which
case it makes sense to have it in trunk without any hassle for people to
get it.

What is the total code size we would be including? (Just the core +
emscripten parts, not other backends)

And just out of curiosity, what is the code size (JS) when you take one of
the simple SDL tests for which you have a 1.2 and 2.0 version? I assume 2.0
would be larger, but hopefully not by much, I am hoping LLVM dead code
elimination would remove almost all of it if little is used.

Assuming we merge to trunk, we should get in and automate relevant tests
from their test suite, depending on their number and time to execute.

- Alon




On Mon, Jul 7, 2014 at 12:04 PM, Sathyanarayanan Gunasekaran <
[email protected]> wrote:

> Hello all,
>
> I've been working on porting SDL2 to emscripten with help from
> Daft-Freak. It's in a usable state and almost all of the SDL2 tests[0]
> have been ported over. The changes are going to be up streamed to SDL2
> soon[1].
>
> Here's the code -
> https://github.com/gsathya/SDL-emscripten/
>
> Here's more information on how to use it -
> http://gsathya.in/blog/mozilla/sdl2-emscripten.html
>
> I think SDL2 is used enough that emscripten benefits from integrating
> the cross compiled SDL2 into master, but this could to increase in
> size(the cross compiled bitcode is 1.4M). Do we want to integrate this
> into emscripten? Thoughts?
>
> Thanks,
> --Sathya
>
> [0]: https://github.com/gsathya/SDL-emscripten/wiki/SDL-Tests
> [1]:
> http://lists.libsdl.org/pipermail/sdl-libsdl.org/2014-July/095475.html
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to