Bug 242814

Summary: Make WebGL rendering context creation fail if GPU is not available
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   

Description Per Arne Vollan 2022-07-15 12:10:49 PDT
We are seeing WebGL crash reports where no Metal devices appear to be available. Guard against this crash by failing to create WebGL contexts when Metal is not available.
Comment 1 Per Arne Vollan 2022-07-15 12:11:47 PDT
<rdar://96096307>
Comment 2 Per Arne Vollan 2022-07-15 12:14:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2464
Comment 3 EWS 2022-07-15 19:17:02 PDT
Committed 252531@main (6ed0df1df12a): <https://commits.webkit.org/252531@main>

Reviewed commits have been landed. Closing PR #2464 and removing active labels.