[Webkit-unassigned] [Bug 216722] WebGL should use GLES in iOS apps running on Apple Silicon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 19:09:02 PDT 2020


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

--- Comment #1 from Dean Jackson <dino at apple.com> ---
Created attachment 409187

  --> https://bugs.webkit.org/attachment.cgi?id=409187&action=review

WIP

Work in progress patch:

What has been done:
- all the #ifs to have the correct bits compiled on each configuration (the tricky one is Apple Silicon target with the Catalyst variant, which needs both OpenGL and OpenGLES)
- added soft linking of all CGL methods, and removed "-l OpenGL" from the build

What needs to be done (and I'll do later today):
- add soft linking for EAGL methods (will need more of the Soft Linking macros)
- dynamic selection of DisplayCGL v DisplayEAGL at runtime

What I don't yet know how to do:
- how to expose GL_BGRA_EXT in formatutils, which is different on GL and GLES. I might have to do a runtime check there as well.

-- 
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/20200919/78726c32/attachment.htm>


More information about the webkit-unassigned mailing list