Bug 257584

Summary: [ANGLE] Lose Metal-backed context
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: ANGLEAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, kbr, kkinnunen, kpiddington, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

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.