[Webkit-unassigned] [Bug 216106] [iOS WK1] Crashes when using ANGLE WebGL from another thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 12:07:15 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216106

--- Comment #8 from Kenneth Russell <kbr at google.com> ---
Kimmo pointed out I probably misunderstood the naming of the various threads. If the "UI thread" (== "main thread") is the one dispatching touch events, and the "web main thread" is a different thread that ordinarily runs WebKit's JS / DOM / etc:

My point still stands - it might still be the case that the web main thread never did any WebGL work, and the touch event handler on the UI thread is the first one to touch WebGL.

It should still be fine, under the cover of the WebThreadLock, for either thread to EGL_Initialize and make the WebGL context.

Still need to release ANGLE's EGL context on both the web main thread and UI thread at appropriate points, in order to maintain correct EGL semantics.

ANGLE still needs to be updated to call [EAGLContext setCurrentContext:] during EGL_MakeCurrent. jonahr@ has already done this work for ANGLE's other backends; needs to be done for the iOS backend.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200903/c07d179a/attachment.htm>


More information about the webkit-unassigned mailing list