Hi Robert,

my patch hinges on this change to occur:
https://bugzilla.mozilla.org/show_bug.cgi?id=1176214 , that will make my
current patch obsolete, and I've been waiting for that to land so that I'd
know how to make the correct new patch.

Also, unfortunately that patch won't let one render from any thread :(
There is this work going on:
https://bugzilla.mozilla.org/show_bug.cgi?id=709490 , which will enable
rendering from a single worker thread, but that worker will have to
explicitly be passed the GL worker to render with (in C, likely the thread
that creates the GL context is able to render in it). Things like
eglMakeCurrent() are still not possible after that patch.

Eventually, we could try to proxy all GL commands synchronously via the
SharedArrayBuffer. That would allow eglMakeCurrent() to function as well,
but it's still a question of how much performance that will impact.

I'll poke Lars to ask the schedule of 1176214, perhaps I could just land my
patch as a temporary one, and that would get swapped out when it's no
longer needed. That could unblock at least GL in main thread with SAB to
work.


2015-09-04 18:36 GMT+03:00 Robert Goulet <[email protected]>:

> Hi Jukka,
>
> I saw you had a similar issue some time ago :
>
> https://groups.google.com/d/msg/emscripten-discuss/gQQRjajQ6iY/s7etdAjXthUJ
> https://bugzilla.mozilla.org/show_bug.cgi?id=1147441
>
> Any idea where the patch landed since then? I'm afraid this is blocking
> me, since we'd like to be able to render from any thread.
> Do you know if there's a build available with your patch? Or perhaps I
> could make one myself?
>
> Thanks!
>
> --
> 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