This topic has been discussed here 
<https://github.com/emscripten-core/emscripten/issues/17816>already, 
however, there was no final solution.

https://github.com/dwz8/offscreentest 
I have updated my sample now. I see two different behaviors:
Version 1:
- compile with -sOFFSCREENCANVAS_SUPPORT=1 and 
attrs.renderViaOffscreenBackBuffer = EM_FALSE 
- result: no rendering on screen

Version 2:
- compile with -sOFFSCREEN_FRAMEBUFFER and 
attrs.renderViaOffscreenBackBuffer = EM_TRUE (no OFFSCREENCANVAS_SUPPORT)
- result: rendering on screen as expected 

So, am I using OFFSCREENCANVAS_SUPPORT in a wrong way, or is support for 
offscreenCanvas not yet stable enough? Should I be using Framebuffer 
instead?

Tested on current versions of Chrome and Firefox on Windows.
Again, any advice is very much appreciated. 

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/f93bfb73-ce4d-4716-abc9-c520e155b158n%40googlegroups.com.

Reply via email to