Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d4e69f7f44d9a782396282d956f4ab99ac5773a
      
https://github.com/WebKit/WebKit/commit/3d4e69f7f44d9a782396282d956f4ab99ac5773a
  Author: Pawel Lampe <[email protected]>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/Damage.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/glib/Damage.cpp

  Log Message:
  -----------
  [TexMap] Improve painting tile fragments in compositor
https://bugs.webkit.org/show_bug.cgi?id=290169

Reviewed by Carlos Garcia Campos.

This change utilizes the Damage to further improve
the tile painting in the compositor.

If tile size allows, with this change it's now possible
to have multiple "draw" operations per tile.

* Source/WebCore/platform/graphics/Damage.h:
(WebCore::Damage::Damage):
(WebCore::Damage::rectsForPainting const):
(WebCore::Damage::makeFull):
(WebCore::Damage::add):
(WebCore::Damage::initialize):
(WebCore::Damage::shouldAdd const):
(WebCore::Damage::tileIndexForRect const):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::paintToTextureMapper):
* Tools/TestWebKitAPI/Tests/WebCore/glib/Damage.cpp:
(TestWebKitAPI::TEST(Damage, Unite)):
(TestWebKitAPI::TEST(Damage, RectsForPainting)):

Canonical link: https://commits.webkit.org/292700@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