[Webkit-unassigned] [Bug 236769] New: [GTK][WPE] Move ANGLE context initialisation to GraphicsContextGLTextureMapper::initialize

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 04:08:05 PST 2022


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

            Bug ID: 236769
           Summary: [GTK][WPE] Move ANGLE context initialisation to
                    GraphicsContextGLTextureMapper::initialize
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: alex at igalia.com, dino at apple.com,
                    Hironori.Fujii at sony.com, kbr at google.com,
                    kkinnunen at apple.com
            Blocks: 221664

[GTK][WPE] Move ANGLE context initialisation to GraphicsContextGLTextureMapper::initialize

The long-term plan would be to share more code in GraphicsContextGLANGLE between Cocoa and non-Cocoa.
The long-term plan would be to minimise the ifdefs in GraphicsContextGLANGLE.

The first step in this direction would be to move the context initialisation and holding to GraphicsContextGLTextureMapper, away from GCGLANGLELayer::ANGLEContext and the layer classes.
Later on, Cocoa and non-Cocoa can merge their ::initialize.

The idea would be to have 
GraphicsContextGLANGLE::
    GCGLDisplay m_displayObj { nullptr };
    GCGLContext m_contextObj { nullptr };
    GCGLConfig m_configObj { nullptr };


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=221664
[Bug 221664] Make GraphicsContectGL ANGLE implementation easier to edit correctly
-- 
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/20220217/57928130/attachment-0001.htm>


More information about the webkit-unassigned mailing list