Bug 256087

Summary: WebGL is not able to reuse old display buffers as drawing buffers if the frames are long
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 255987    

Description Kimmo Kinnunen 2023-04-28 05:00:57 PDT
WebGL is not able to reuse old display buffers as drawing buffers if the frames are long

If the frames are long, but within 16ms, the WebGL is not able to reuse old display buffers as new drawing buffers.

Likely updateRendering() prepares WebGL for display too soon relative to the UI-side compositing committing in-flight frame.

See for example app in bug 255987
Comment 1 Radar WebKit Bug Importer 2023-04-28 05:01:13 PDT
<rdar://problem/108654803>