Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c93421499f12f02e0e6f53accfe4b5f05f6ec09d
      
https://github.com/WebKit/WebKit/commit/c93421499f12f02e0e6f53accfe4b5f05f6ec09d
  Author: Pawel Lampe <pla...@igalia.com>
  Date:   2025-05-15 (Thu, 15 May 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:
  -----------
  [GTK][WPE] Text painting incorrect when damage propagation used
https://bugs.webkit.org/show_bug.cgi?id=292980

Reviewed by Carlos Garcia Campos.

This change removes the erroneous functionality that allowed some
backing stores to re-paint tile fragments inconsistently with other
backing stores and layers in general.

The problem was that some backing stores effectively could avoid
painting some pixels while other layers still repainted them thus
leading to inconsistent drawing and glitches.

This change effectively reverts majority of 0a22af9 although it
retains some benefits like painting texture fragments. This way
some paint operations that are limited by glScissor on GL level
are limited on higher level thus improving performance a bit and
sometimes allowing for skipping tile painting completely.

* Source/WebCore/platform/graphics/Damage.h:
(WebCore::Damage::rectsForPainting const): Deleted.
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::paintToTextureMapper):
* Tools/TestWebKitAPI/Tests/WebCore/glib/Damage.cpp:
(TestWebKitAPI::TEST(Damage, RectsForPainting)): Deleted.

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



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

Reply via email to