Branch: refs/heads/webkitglib/2.54
  Home:   https://github.com/WebKit/WebKit
  Commit: 20f127f47c7869301c5160c23978f0dfb3b73e77
      
https://github.com/WebKit/WebKit/commit/20f127f47c7869301c5160c23978f0dfb3b73e77
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.cpp

  Log Message:
  -----------
  Cherry-pick 318143@main (0d1e5abeecb6). 
https://bugs.webkit.org/show_bug.cgi?id=319131

    REGRESSION(313868@main): [Skia] Broke certain images in PDF documents
    https://bugs.webkit.org/show_bug.cgi?id=319131

    Reviewed by Alejandro G. Castro.

    Flush the context after copying buffer in
    SkiaSerializedImageBuffer::sinkIntoImageBuffer().

    * Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.cpp:
    (WebCore::SkiaSerializedImageBuffer::sinkIntoImageBuffer):

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

Canonical link: https://commits.webkit.org/317695.8@webkitglib/2.54


  Commit: febb248c93c1eb035401552e94426f30d535ef08
      
https://github.com/WebKit/WebKit/commit/febb248c93c1eb035401552e94426f30d535ef08
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h
    M 
Source/WebCore/platform/graphics/skia/SkiaCompositingLayer3DRenderingContext.cpp
    M 
Source/WebCore/platform/graphics/skia/SkiaCompositingLayer3DRenderingContext.h

  Log Message:
  -----------
  Cherry-pick 318066@main (7a767a006f81). 
https://bugs.webkit.org/show_bug.cgi?id=314883

    [GTK][WPE] SkiaCompositingLayer: incorrect z-ordering at Snow Stack
    https://bugs.webkit.org/show_bug.cgi?id=314883

    Reviewed by Nikolas Zimmermann.

    Make SkiaCompositingLayer3DRenderingContext::Layer public and make
    SkiaCompositingLayer3DRenderingContext::paint() receive a list of
    SkiaCompositingLayer3DRenderingContext::Layer instead. This way while
    collecting the 3D context layers we can build the
    SkiaCompositingLayer3DRenderingContext::Layer without having to iterate
    the layers again in paint(). The geometry for 3D context is now computed
    taking into account the flattened bounding box when needed instead of
    always using the layer rectangle, which is what actually fixes the
    incorrect z-ordering.

    * Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
    (WebCore::SkiaCompositingLayer::transformedFlattenedBounds const):
    (WebCore::SkiaCompositingLayer::geometryFor3DRenderingContext const):
    (WebCore::SkiaCompositingLayer::collect3DRenderingContextLayers):
    (WebCore::SkiaCompositingLayer::paintWith3DRenderingContext):
    * Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:
    * 
Source/WebCore/platform/graphics/skia/SkiaCompositingLayer3DRenderingContext.cpp:
    (WebCore::SkiaCompositingLayer3DRenderingContext::paint):
    (WebCore::SkiaCompositingLayer3DRenderingContext::buildTree):
    * 
Source/WebCore/platform/graphics/skia/SkiaCompositingLayer3DRenderingContext.h:
    (WebCore::SkiaCompositingLayer3DRenderingContext::Layer::Layer):

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

Canonical link: https://commits.webkit.org/317695.9@webkitglib/2.54


  Commit: 1a714a23c8d8c5391b54d232795c69a0e909b319
      
https://github.com/WebKit/WebKit/commit/1a714a23c8d8c5391b54d232795c69a0e909b319
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h

  Log Message:
  -----------
  Cherry-pick 318138@main (73a527b95f75). 
https://bugs.webkit.org/show_bug.cgi?id=320528

    [GTK][WPE] Skia compositor: remove effectiveLayerRect()
    https://bugs.webkit.org/show_bug.cgi?id=320528

    Reviewed by Alejandro G. Castro.

    This was copied from texture mapper which means a different thing only
    used for 3D context layers. In skia compositor it's always just
    returning the layer rectangle. The layer rectangle is in layer
    coordinates, so it's always 0,0 widthxheight. We have a member for the
    size and build a FloatRect every time the layer rect is needed. This
    patch replaces m_size by m_rect so that we always have the rectangle and
    we just change its size when the layer size changes. We don't even need
    a getter for the layer rect since it's only used internally.

    * Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
    (WebCore::SkiaCompositingLayer::setSize):
    (WebCore::SkiaCompositingLayer::updateBackingStore):
    (WebCore::SkiaCompositingLayer::paintedLayerRect const):
    (WebCore::SkiaCompositingLayer::computeTransformsAndAnimations):
    (WebCore::SkiaCompositingLayer::paint):
    (WebCore::SkiaCompositingLayer::paintSelfAndChildren):
    (WebCore::SkiaCompositingLayer::isVisible const):
    (WebCore::SkiaCompositingLayer::maskImage):
    (WebCore::SkiaCompositingLayer::computeOverlapRegions):
    (WebCore::SkiaCompositingLayer::transformedFlattenedBounds const):
    (WebCore::SkiaCompositingLayer::geometryFor3DRenderingContext const):
    * Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:

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

Canonical link: https://commits.webkit.org/317695.10@webkitglib/2.54


  Commit: 3c42da6f54e7999e805dbeeffbce43acd6b43dff
      
https://github.com/WebKit/WebKit/commit/3c42da6f54e7999e805dbeeffbce43acd6b43dff
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp

  Log Message:
  -----------
  Cherry-pick 318148@main (0449e10b207f). 
https://bugs.webkit.org/show_bug.cgi?id=320544

    REGRESSION(318066@main): [GTK][WPE] Skia compositor: do not apply flattened 
bounds transformation if layer is not empty
    https://bugs.webkit.org/show_bug.cgi?id=320544

    Reviewed by Alejandro G. Castro.

    We only need to apply the flattened bounds when the layer is empty to
    get proper bounds from the children.

    * Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
    (WebCore::SkiaCompositingLayer::geometryFor3DRenderingContext const):

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

Canonical link: https://commits.webkit.org/317695.11@webkitglib/2.54


Compare: https://github.com/WebKit/WebKit/compare/edeb513a25f2...3c42da6f54e7

To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to