[Webkit-unassigned] [Bug 229404] New: 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:35:13 PDT 2021


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

            Bug ID: 229404
           Summary: WebGL has a lot of #if USE(ANGLE) blocks, making it
                    hard to maintain
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
        Depends on: 229402

WebGL has a lot of #if USE(ANGLE) blocks, making it hard to maintain

There are 3 major implementations for WebGL:
- OpenGL
- OpenGL ES
- ANGLE

The WebGL layer should not #ifdef around these variations, rather the differences should be abstracted somehow so that the WebGL implementation is easier to maintain correctly.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=229402
[Bug 229402] WebGL calls into static GraphicsContextGLOpenGL functions needlessly
-- 
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/87a527a7/attachment.htm>


More information about the webkit-unassigned mailing list