Bug 210632

Summary: [WebGL] Confirm there are no errors when setting up framebuffers
Product: WebKit Reporter: Dean Jackson <dino>
Component: WebGLAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, dino, esprehn+autocc, ews-watchlist, graouts, gyuyoung.kim, kondapallykalyan, noam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Dean Jackson
Reported 2020-04-16 19:42:35 PDT
We're seeing crashes on macOS inside GraphicsContextGL::reshape(). Specifically when we submit work at the end of the function via glFlush. At the moment the cause is a mystery, because we should bail out before then if the multisample renderbuffer was not complete. In the hope that it helps somewhat, add a call to glGetError to double check that there isn't anything horribly wrong before we talk to the GPU.
Attachments
Patch (5.69 KB, patch)
2020-04-17 15:56 PDT, Dean Jackson
simon.fraser: review+
Radar WebKit Bug Importer
Comment 1 2020-04-16 19:42:48 PDT
Dean Jackson
Comment 2 2020-04-17 15:56:06 PDT
Dean Jackson
Comment 3 2020-04-17 16:31:18 PDT
Note You need to log in before you can comment on or make changes to this bug.