| Summary: | [CoordinatedGraphics] Schedule rendering after setLayerTreeStateIsFrozen(false) in non-AC mode | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tomoki Imai <tomoki.imai> | ||||||
| Component: | WebKit2 | Assignee: | Tomoki Imai <tomoki.imai> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | Normal | CC: | cgarcia, cmarcelo, don.olmstead, ews-watchlist, gyuyoung.kim, Hironori.Fujii, kkinnunen, luiz, ryuan.choi, sergio, webkit-bug-importer, zdobersek, zeno | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Tomoki Imai
2021-08-31 20:54:50 PDT
Created attachment 436991 [details]
patch
Patch to schedule rendering when setLayerTreeStateIsFrozen(false) is called.
Do you have a test case? Comment on attachment 436991 [details]
patch
Wait, do we know for sure we are not in AC mode at that point?
Comment on attachment 436991 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=436991&action=review > Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:246 > + else > + scheduleDisplay(); I think we should only call this if m_layerTreeHost is nullptr (In reply to Fujii Hironori from comment #2) > Do you have a test case? Unfortunately no. On PlayStation, the issue is reproducible with the specific webpage (and sorry, I cannot paste url here..) but WinCairo/GTK cannot reproduce the issue even with the same page. I believe there is a chance where the GTK/WinCairo encounter the same issue, but it seems to depend on the timing. Created attachment 437000 [details] patch (In reply to Carlos Garcia Campos from comment #4) > Comment on attachment 436991 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=436991&action=review > > > Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:246 > > + else > > + scheduleDisplay(); > > I think we should only call this if m_layerTreeHost is nullptr Thanks for pointing! You're correct, I added "if (!m_layerTreeHost)" guard there. tomoki.imai@sony.com does not have reviewer permissions according to https://raw.githubusercontent.com/WebKit/WebKit/main/Tools/Scripts/webkitpy/common/config/contributors.json. Rejecting attachment 437000 [details] from commit queue. Committed r281841 (241174@main): <https://commits.webkit.org/241174@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437000 [details]. Thanks for your review and cq+! (Sorry, I should not have r+) |