| Summary: | REGRESSION (r244182): RemoteLayerTreeDrawingArea::flushLayers() should not be reentrant | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> | ||||||||
| Component: | Animations | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, dino, simon.fraser, thorton, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=177484 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Said Abou-Hallawa
2019-04-11 12:25:49 PDT
Created attachment 367233 [details]
Patch
Comment on attachment 367233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=367233&action=review > Source/WebKit/WebProcess/WebPage/WebPage.cpp:3659 > +void WebPage::scheduleCompositingLayerFlush() I don't think you need this > Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:350 > + m_webPage.scheduleCompositingLayerFlush(); Why doesn't this just call scheduleCOmpositingLayerFlush like the above? Comment on attachment 367233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=367233&action=review > Source/WebKit/ChangeLog:9 > + detected. But scheduleCompositingLayerFlush() to make a final repaint. But that will be async, which breaks testing. Why bother scheduling it at all? >> Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:350 >> + m_webPage.scheduleCompositingLayerFlush(); > > Why doesn't this just call scheduleCOmpositingLayerFlush like the above? Is it really necessary? Created attachment 367239 [details]
Patch
Comment on attachment 367233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=367233&action=review >>> Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:350 >>> + m_webPage.scheduleCompositingLayerFlush(); >> >> Why doesn't this just call scheduleCOmpositingLayerFlush like the above? > > Is it really necessary? It will not be necessary if notifyDone() is the only reason to re-enter this function. I will give it a try and upload another patch. Created attachment 367240 [details]
Patch
Comment on attachment 367240 [details] Patch Clearing flags on attachment: 367240 Committed r244198: <https://trac.webkit.org/changeset/244198> All reviewed patches have been landed. Closing bug. |