| 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: | WebGL | Assignee: | 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 | ||
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.