[webkit-changes] [WebKit/WebKit] 65bfa7: Pass scaled layer dirty rect to CA in UIProcess

bnham noreply at github.com
Fri Jun 2 16:50:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65bfa7a2a5e66e74edbb478aa3d43b735d4b6a7c
      https://github.com/WebKit/WebKit/commit/65bfa7a2a5e66e74edbb478aa3d43b735d4b6a7c
  Author: Ben Nham <nham at apple.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm

  Log Message:
  -----------
  Pass scaled layer dirty rect to CA in UIProcess
https://bugs.webkit.org/show_bug.cgi?id=257664
rdar://110188394

Reviewed by Simon Fraser.

In 264445 at main we passed the unscaled dirty rect to CA. This causes rendering issues. We need to
pass the scaled dirty rect instead.

* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
(WebKit::RemoteLayerBackingStoreProperties::applyBackingStoreToLayer):

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




More information about the webkit-changes mailing list