[Webkit-unassigned] [Bug 200900] New: Selectively enable extensions in ANGLE backend for WebGL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 19 16:15:44 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=200900
Bug ID: 200900
Summary: Selectively enable extensions in ANGLE backend for
WebGL
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kbr at google.com
CC: dino at apple.com
Blocks: 198948
Currently in the ANGLE backend for WebGL, the underlying context is created with all extensions enabled:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContext3DCocoa.mm#L327
This was a workaround done out of expediency in order to get bits on the screen. There is a note about it here:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/angle/GraphicsContext3DANGLE.cpp#L395
"""
// Note there are no Extensions3D::ensureEnabled calls here. The ANGLE
// backend currently assumes at a fairly deep level that
// EGL_EXTENSIONS_ENABLED_ANGLE is set to true during context creation: for
// the allocation of rectangular textures, etc.
"""
In order for WebKit's ANGLE implementation to be conformant in the long term, with a minimum of additional validation at the WebKit level, it'll be necessary to figure out which extensions the implementation actually relies on, and selectively enable them during context initialization.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=198948
[Bug 198948] Meta: use ANGLE as the backend for WebKit's WebGL implementation
--
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/20190819/d8ef68aa/attachment.html>
More information about the webkit-unassigned
mailing list