Bug 233998

Summary: GraphicsContextGLCocoa should signal forceContextLost immediately if prepareForDisplay fails to allocate drawing buffer
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Kimmo Kinnunen <kkinnunen>
Status: ASSIGNED ---    
Severity: Normal CC: cmarcelo, dino, ews-watchlist, kbr, kkinnunen, kondapallykalyan, luiz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 221664    
Attachments:
Description Flags
Patch for EWS ews-feeder: commit-queue-

Description Kimmo Kinnunen 2021-12-08 04:21:46 PST
GraphicsContextGLCocoa should signal forceContextLost immediately if prepareForDisplay fails to allocate next drawing buffer

Currently it expects to signal failure when makeContextCurrent fails when called with null drawing buffer

The makeContextCurrent is used universally to make the context current, also during initialisation when we do not yet have a drawing buffer.
Comment 1 Kimmo Kinnunen 2021-12-08 22:19:55 PST
Created attachment 446500 [details]
Patch for EWS
Comment 2 Radar WebKit Bug Importer 2021-12-15 04:22:15 PST
<rdar://problem/86516651>