I believe SDL2 has the ability to use gl for things, and emscripten just
uses that. I don't think there is code to use 2D canvas tricks like we had
in SDL1.

But is WebGL still spotty on desktops? It seems pretty solid now. Even Edge
has good support.

On Wed, Nov 4, 2015 at 8:35 PM, bobajeff <[email protected]> wrote:

> I'm planning on porting a graphical application and using the 2D Canvas
> API for all rendering (since WebGL support is still spotty on Desktops).
>
> I remember the built-in SDL 1.3 library used 2D Canvas calls. So does the
> SDL 2 port use pure 2D Canvas or does it rely on WebGL for things?
>
> I also eventually want to use Canvas 2D directly. Which is the best path?
> Using `extern` for or Embind with `val` to call on Canvas? -- Mind you I'll
> also want to create a native version of the Canvas library (probably a hack
> on top of SDL) to test using native tools (gcc gdb etc.)
>
> --
> 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