Seems likely related to `explicitSwapControl`,
`renderViaOffscreenBackBuffer` and `proxyContextToMainThread` which are
part of `EmscriptenWebGLContextAttributes`:
https://emscripten.org/docs/api_reference/html5.h.html?highlight=gamepad#c.EmscriptenWebGLContextAttributes.explicitSwapControl

Have you read the documentation related to those?



On Fri, Sep 2, 2022 at 4:14 AM Andrew Lay <[email protected]> wrote:

> Can someone please help with out?
>
> I am having trouble correctly drawing to Canvas on Pthreads.
>
> There is nothing being drawn to the canvas on the screen while the
> application is running, however if I freeze the code with the Dev tools in
> the debugger the Canvas updates.
>
> I have created an example in this git hub repo:
>
> https://github.com/alayGit/DummyEmscriptenCanvasForumExample
>
> It is not pretty but I hope it will demonstrate the issue.
>
> If anything is not clear please let me know.
>
>
>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/94127203-44fc-45f5-9fcc-402a231b49e9n%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/94127203-44fc-45f5-9fcc-402a231b49e9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_b7L7AtRNzOKiH9V4L4HbHc-TxBzf7Sq2c8iy0xzqL9Q%40mail.gmail.com.

Reply via email to