Bug 242814 - Make WebGL rendering context creation fail if GPU is not available
Summary: Make WebGL rendering context creation fail if GPU is not available
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-15 12:10 PDT by Per Arne Vollan
Modified: 2022-07-15 19:17 PDT (History)
1 user (show)

See Also:


Attachments

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