[webkit-changes] [WebKit/WebKit] c5cd2f: Unaccelerated rendering with GPUP shows stale cont...

mattwoodrow noreply at github.com
Thu Apr 6 14:54:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5cd2f9956d9b81e39accc5eca1ffc6b9bea5647
      https://github.com/WebKit/WebKit/commit/c5cd2f9956d9b81e39accc5eca1ffc6b9bea5647
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm

  Log Message:
  -----------
  Unaccelerated rendering with GPUP shows stale content.
https://bugs.webkit.org/show_bug.cgi?id=255112
<rdar://107717934>

Reviewed by Simon Fraser.

Only IOSurface/MachSendRight types can be cached using CAIOSurface, otherwise
we end up caching a stale CGImage copied from a ShareableBitmapHandle.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
(WebKit::RemoteLayerBackingStoreProperties::updateCachedBuffers):

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




More information about the webkit-changes mailing list