Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b4a4e93f1608825b13befdb6e76adec418763a1
      
https://github.com/WebKit/WebKit/commit/3b4a4e93f1608825b13befdb6e76adec418763a1
  Author: Pablo Saavedra <[email protected]>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M 
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp

  Log Message:
  -----------
  [WPE] Fix crash on ThreadedCompositor::renderLayerTree() during video 
playlist transitions
https://bugs.webkit.org/show_bug.cgi?id=272150

Reviewed by Miguel Gomez.

Unnoticed default usage of dmabuf was leading to missing checks in the dmabuf
proxy. This caused issues when activating a proxy in a TextureMapperLayer,
removing any reference that another layer might have had to the previous proxy.
Additionally, when invalidating, the reference to the proxy held by the 
TextureMapperLayer
was also removed.

This prevents an invalid memory access identified in the
CoordinatedGraphicsScene::paintToCurrentGLContext().

* 
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp:
(WebCore::TextureMapperPlatformLayerProxyDMABuf::activateOnCompositingThread):
(WebCore::TextureMapperPlatformLayerProxyDMABuf::invalidate):

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