RESOLVED FIXED 285736
[CoordinatedGraphics] Wait for tile buffers to be rendered before painting to texture mapper
https://bugs.webkit.org/show_bug.cgi?id=285736
Summary [CoordinatedGraphics] Wait for tile buffers to be rendered before painting to...
Carlos Garcia Campos
Reported 2025-01-10 02:11:25 PST
In 288158@main I moved the tiles updates processing to CoordinatedBackingStore::paintToTextureMapper(), but it can happen that the layer paint is skipped. We should always wait for buffers in the composition to make sure there aren't painting thread running after the composition.
Attachments
Carlos Garcia Campos
Comment 1 2025-01-10 02:14:39 PST
Miguel Gomez
Comment 2 2025-01-10 02:34:39 PST
We shouldn't be processing the tile changes just before painting them. We should do it before, so they may be already uploaded to textures when we want to use them. As it was done before, the tiles would be uploaded while we were doing other operations, tree traversals, or painting other tiles, so we may have them ready for painting as soon as we need them. With the approach of processing the changes in paintToTextureMapper, we always have to wait for each tile to be uploaded before we can actually paint it, which is less efficient.
EWS
Comment 3 2025-01-10 04:40:37 PST
Committed 288695@main (f67a8f0bac71): <https://commits.webkit.org/288695@main> Reviewed commits have been landed. Closing PR #38835 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2025-01-10 04:41:15 PST
Note You need to log in before you can comment on or make changes to this bug.