[webkit-changes] [WebKit/WebKit] 372e09: [CoordinatedGraphics] Move dirty tiles rendering t...

Carlos Garcia Campos noreply at github.com
Wed Oct 23 05:33:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 372e098c66e08f1cef03a44274ebd902736821ab
      https://github.com/WebKit/WebKit/commit/372e098c66e08f1cef03a44274ebd902736821ab
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-10-23 (Wed, 23 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.cpp
    M Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.h
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyClient.h
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h

  Log Message:
  -----------
  [CoordinatedGraphics] Move dirty tiles rendering to CoordinatedBackingStoreProxy
https://bugs.webkit.org/show_bug.cgi?id=281962

Reviewed by Miguel Gomez.

Instead of doing the update in two steps, first create/destroy tiles if
needed and then get the dirty tiles to update them, add
CoordinatedBackingStoreProxy::updateIfNeeded() to perform the whole
update including tiles created, destroyed and updated.

* Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.cpp:
(Nicosia::BackingStore::flushUpdate):
(Nicosia::BackingStore::tiledBackingStoreHasPendingTileCreation): Deleted.
* Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.h:
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp:
(WebCore::CoordinatedBackingStoreProxy::updateIfNeeded):
(WebCore::CoordinatedBackingStoreProxy::createTiles):
(WebCore::CoordinatedBackingStoreProxy::createTilesIfNeeded): Deleted.
(WebCore::CoordinatedBackingStoreProxy::dirtyTiles): Deleted.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h:
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyClient.h:
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list