Bug 231946

Summary: ANGLE OpenGL CGL graphics switching does not work on macOS 12.0
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=231012
https://bugs.webkit.org/show_bug.cgi?id=227408

Description Kimmo Kinnunen 2021-10-19 05:36:45 PDT
ANGLE OpenGL CGL graphics switching does not work on macOS 12.0

angle::GetGpuIDFromDisplayID(kCGDirectMainDisplay) fails because CGDisplayIDToOpenGLDisplayMask(displayID=kCGDirectMainDisplay) returns zero even when sandbox is disabled
Comment 1 Kimmo Kinnunen 2021-10-19 05:37:01 PDT
Should be checked if it works on Catalina
Comment 2 Kimmo Kinnunen 2021-10-19 05:40:38 PDT
To verify on Catalina:
Open Activity Monitor -> Window -> Show GPU History

Navigate to:
http://projects.variable.io/webgl/shader-performance/ 

GPU history window should show big amount of work done on the DGPU
Comment 3 Radar WebKit Bug Importer 2021-10-26 05:37:17 PDT
<rdar://problem/84659198>