Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8702d7ebc9db4a191a88db87e679f62b4cb33438
      
https://github.com/WebKit/WebKit/commit/8702d7ebc9db4a191a88db87e679f62b4cb33438
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2025-01-31 (Fri, 31 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] The layer backing store might not change after being 
set to nullptr
https://bugs.webkit.org/show_bug.cgi?id=286742

Reviewed by Miguel Gomez.

This is because CoordinatedPlatformLayer::flushCompositingState returns
early if there aren't pending changes and m_backingStoreProxy is
nullptr. So, if backing store is reset and nothing else changes we don't
change the target layer. Add BackingStore change to make sure there are
always pending changes when the backing store changes.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to