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-

Kimmo Kinnunen
Reported 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.
Attachments
Patch for EWS (18.34 KB, patch)
2021-12-08 22:19 PST, Kimmo Kinnunen
ews-feeder: commit-queue-
Kimmo Kinnunen
Comment 1 2021-12-08 22:19:55 PST
Created attachment 446500 [details] Patch for EWS
Radar WebKit Bug Importer
Comment 2 2021-12-15 04:22:15 PST
Note You need to log in before you can comment on or make changes to this bug.