Bug 233998 - GraphicsContextGLCocoa should signal forceContextLost immediately if prepareForDisplay fails to allocate drawing buffer
Summary: GraphicsContextGLCocoa should signal forceContextLost immediately if prepareF...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks: gcgranglecleanup
  Show dependency treegraph
 
Reported: 2021-12-08 04:21 PST by Kimmo Kinnunen
Modified: 2021-12-15 04:22 PST (History)
8 users (show)

See Also:


Attachments
Patch for EWS (18.34 KB, patch)
2021-12-08 22:19 PST, Kimmo Kinnunen
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

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