[Webkit-unassigned] [Bug 229404] WebGL has a lot of #if USE(ANGLE) blocks, making it hard to maintain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 03:40:24 PDT 2021


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

--- Comment #1 from Kimmo Kinnunen <kkinnunen at apple.com> ---
In my personal opinion, it is only viable to run WebGL correctly with the ANGLE implementation. 

The simplest option to fix this bug, option A, would be to:
1) remove all WebGL-related code that is not inside #if USE(ANGLE).

The other option, option B, would be to:
1) Move GCGL ANGLE implementation to GraphicsContextGLANGLE
2) Move #if !USE(ANGLE) code from WebGL to GraphicsContextGLOpenGL

However, option B has the problem that TextureMapper uses GraphicsContextGLOpenGL, and it's not entirely clear to me if it's expected to work on ANGLE and OpenGL or just on OpenGL. If it's the latter, then the task is a bit simpler. If the former, then it's more work.

-- 
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/20210823/bb4f4e79/attachment.htm>


More information about the webkit-unassigned mailing list