Bug 257584 - [ANGLE] Lose Metal-backed context
Summary: [ANGLE] Lose Metal-backed context
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-31 20:07 PDT by Dan Glastonbury
Modified: 2023-07-27 19:41 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Glastonbury 2023-05-31 20:07:09 PDT
Metal-backend ANGLE rendering contexts are never lost.

MTLCommandBuffers provide a status member that can be checked when completion is signalled. It should be possible to mark error from the onCompletion handler and lose the context.
Comment 1 Dan Glastonbury 2023-05-31 20:07:47 PDT
rdar://109176858
Comment 2 Dan Glastonbury 2023-05-31 20:09:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14567
Comment 3 EWS 2023-07-27 19:41:08 PDT
Committed 266377@main (ef391b1f467b): <https://commits.webkit.org/266377@main>

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