[webkit-changes] [WebKit/WebKit] d8014c: [WPE] GStreamer hole punch does not render correct...

Miguel Gómez noreply at github.com
Fri Jul 12 04:47:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8014cfad03b9a76013f10d7a54b4760483ae54d
      https://github.com/WebKit/WebKit/commit/d8014cfad03b9a76013f10d7a54b4760483ae54d
  Author: Miguel Gomez <magomez at igalia.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayer.h
    M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h

  Log Message:
  -----------
  [WPE] GStreamer hole punch does not render correctly with fixed body position
https://bugs.webkit.org/show_bug.cgi?id=274469

Reviewed by Carlos Garcia Campos.

When rendering into an intermediate surface due to preserve3D mode, store the
holepunch rectangles that are found in the subtree. Once the rendering is done,
and before blending the intermediate surface into the main framebuffer, draw
the stored holepunch rectangles with transparent, so they pierce the background
content.

* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::paintSelf):
(WebCore::TextureMapperLayer::paintWith3DRenderingContext):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayer.h:
(WebCore::TextureMapperPlatformLayer::isHolePunchBuffer const):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp:
(WebCore::TextureMapperPlatformLayerBuffer::isHolePunchBuffer const):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:

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