Bug 228576

Summary: Remove unnecessary GPU mux with high-performance powerPreference and Metal backend
Product: WebKit Reporter: Kenneth Russell <kbr>
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   
Bug Depends on: 228298    
Bug Blocks:    

Description Kenneth Russell 2021-07-28 17:07:31 PDT
As seen in Bug 228298, selection of either the low-power or high-performance GPU is working in Safari's Metal backend.

When using Metal, the whole-system, OpenGL-based mux to the discrete GPU is unnecessary. This code should be conditionalized on whether the Metal backend is in use.
Comment 1 Radar WebKit Bug Importer 2021-09-10 09:29:58 PDT
<rdar://problem/82975791>