[webkit-changes] [WebKit/WebKit] 030894: [CoordinatedGraphics] CoordinatedPlatformLayer sho...

Carlos Garcia Campos noreply at github.com
Mon Mar 24 02:55:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0308948ab2f2412449b4fa8df1722807894746b3
      https://github.com/WebKit/WebKit/commit/0308948ab2f2412449b4fa8df1722807894746b3
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h

  Log Message:
  -----------
  [CoordinatedGraphics] CoordinatedPlatformLayer should accumulate damage
https://bugs.webkit.org/show_bug.cgi?id=290164

Reviewed by Alejandro G. Castro.

We currently replace current damage with the given one, but in case of
multiple layer flushes before the composition, the damage should be
accumulated.

* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setDamage):
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:

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