Bug 237893

Summary: Add WebGL testing hooks to make it possible to test GraphicsContextGL calls that time out during WebGL operation
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: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237891

Kimmo Kinnunen
Reported 2022-03-15 07:10:52 PDT
Add WebGL testing hooks to make it possible to test GraphicsContextGL calls that time out during WebGL operation void WebGLRenderingContextBase::paintRenderingResultsToCanvas() { if (isContextLostOrPending()) return; ... prepareForDisplay(); ... m_context->paintCompositedResultsToCanvas(*buffer); } We'd like to test what happens when timeout happens in prepareForDisplay(), so that paintCompositedResultsToCanvas() is executed on a failing context.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-22 07:11:34 PDT
Note You need to log in before you can comment on or make changes to this bug.