[webkit-changes] [WebKit/WebKit] da3c10: [CoordinatedGraphics] Keep an extra reference of i...

Carlos Garcia Campos noreply at github.com
Sat Jan 11 00:43:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da3c108d5d85c0b114ece2f45bbd095488274824
      https://github.com/WebKit/WebKit/commit/da3c108d5d85c0b114ece2f45bbd095488274824
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2025-01-11 (Sat, 11 Jan 2025)

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

  Log Message:
  -----------
  [CoordinatedGraphics] Keep an extra reference of image backing store proxy until the next composition
https://bugs.webkit.org/show_bug.cgi?id=285742

Reviewed by Miguel Gomez.

Similar to what we do for the contents buffer, we need to keep the
previous image backing store alive until the next composition, since it
can still be used by the compositor thread.

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

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