| Summary: | GraphicsContextGLANGLE delivers context lost twice when reshape fails | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Status: | ASSIGNED --- | ||||||||||||
| Severity: | Normal | CC: | cmarcelo, dino, ews-watchlist, kbr, kkinnunen, koivisto, kondapallykalyan, luiz, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 221664 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Kimmo Kinnunen
2021-12-08 01:43:22 PST
Created attachment 446334 [details]
Patch
Comment on attachment 446334 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446334&action=review > Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:387 > + // Returns true on success. > bool reshapeFBOs(const IntSize&); enum class return type would requires less explanations > Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:400 > - // Returns false if context should be lost due to timeout. > + // Returns true on success. Returns false if context should be lost due to timeout. > bool waitAndUpdateOldestFrame() WARN_UNUSED_RETURN; here too Created attachment 446337 [details]
Patch for landing
Created attachment 446345 [details]
Patch for landing
Created attachment 446408 [details]
Patch for EWS
|