Bug 274558

Summary: [ANGLE] Disable CGL and EAGL on Mac Catalyst
Product: WebKit Reporter: Elliott Williams <emw>
Component: ANGLEAssignee: Elliott Williams <emw>
Status: RESOLVED FIXED    
Severity: Normal CC: djg, kbr, kkinnunen, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 270198    

Description Elliott Williams 2024-05-22 17:01:11 PDT
Unmodified iPadOS apps may request the GLES backend, but otherwise all clients use Metal.
Comment 1 Radar WebKit Bug Importer 2024-05-22 17:01:39 PDT
<rdar://problem/128575633>
Comment 2 Elliott Williams 2024-05-23 11:46:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29005
Comment 3 Elliott Williams 2024-05-28 18:54:16 PDT
Retitling to reflect that the patch now removes *all* OpenGL support from Catalyst, to avoid a discontinuity where Intel Mac Catalyst would support CGL while ASi Mac Catalyst is Metal-only. All the hardware our supported macOS versions target have Metal.
Comment 4 EWS 2024-05-29 19:30:30 PDT
Committed 279488@main (0e6e2460a87d): <https://commits.webkit.org/279488@main>

Reviewed commits have been landed. Closing PR #29005 and removing active labels.
Comment 5 Kenneth Russell 2024-05-30 15:07:15 PDT
Would you consider upstreaming this patch to the ANGLE repository? The ANGLE team would gladly review and integrate it, and this would simplify later rolls of ANGLE into WebKit. Thanks in advance.