Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f67a8f0bac71cf86fa44004ea8f8bbd617e523f7
      
https://github.com/WebKit/WebKit/commit/f67a8f0bac71cf86fa44004ea8f8bbd617e523f7
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp

  Log Message:
  -----------
  [CoordinatedGraphics] Wait for tile buffers to be rendered before painting to 
texture mapper
https://bugs.webkit.org/show_bug.cgi?id=285736

Reviewed by Miguel Gomez.

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. This patch moves processing updates to flushCompositingState()
so that it happens before painting as it was done before 288158@main.

* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::paintToTextureMapper):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
* 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::updateSceneState):

Canonical link: https://commits.webkit.org/288695@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to