Bug 231946 - ANGLE OpenGL CGL graphics switching does not work on macOS 12.0
Summary: ANGLE OpenGL CGL graphics switching does not work on macOS 12.0
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-19 05:36 PDT by Kimmo Kinnunen
Modified: 2021-10-26 05:37 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>