[webkit-changes] [WebKit/WebKit] 2b57cc: [CoordinatedGraphics] Rendering broken when device...

Carlos Garcia Campos noreply at github.com
Fri Jan 10 02:50:17 PST 2025


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

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

  Log Message:
  -----------
  [CoordinatedGraphics] Rendering broken when device scale factor changes
https://bugs.webkit.org/show_bug.cgi?id=285733

Reviewed by Alejandro G. Castro.

This happens, for example, when a window is moved to a different screen
with a different device scale factor. When contents scale changes in a
layer, we now reset the backing store proxy, but we are not clearing the
tiles and pending updates.

* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp:
(WebCore::CoordinatedBackingStoreProxy::setContentsScale):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setContentsScale):

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