Branch: refs/heads/webkitglib/2.54
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e6e423bd1723b22cf1afb692c42a9f5abb626e8
      
https://github.com/WebKit/WebKit/commit/8e6e423bd1723b22cf1afb692c42a9f5abb626e8
  Author: Philippe Normand <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M Source/WebCore/platform/glib/UserAgentQuirks.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp

  Log Message:
  -----------
  Cherry-pick 322389@main (05af7052314c). 
https://bugs.webkit.org/show_bug.cgi?id=325936

    [WPE][GTK] Add User-Agent quirk for Amazon Luna
    https://bugs.webkit.org/show_bug.cgi?id=325936

    Reviewed by Adrian Perez de Castro.

    Use Chrome UA for luna.amazon.* otherwise the user gets an error popup when 
starting a game.

    Test: Tools/TestWebKitAPI/Tests/WebCore/glib/UserAgentQuirks.cpp

    * Source/WebCore/platform/glib/UserAgentQuirks.cpp:
    (WebCore::urlRequiresChromeBrowser):
    * Tools/TestWebKitAPI/Tests/WebCore/glib/UserAgentQuirks.cpp:
    (TestWebKitAPI::TEST(UserAgentTest, Quirks)):

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

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


  Commit: 6cebb146c89ad399aa0cff9d81a53923aa9ec854
      
https://github.com/WebKit/WebKit/commit/6cebb146c89ad399aa0cff9d81a53923aa9ec854
  Author: Sergio Villar Senin <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp
    M 
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.cpp
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.h
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp

  Log Message:
  -----------
  Cherry-pick 322147@main (e19beafbaf11). 
https://bugs.webkit.org/show_bug.cgi?id=324239

    [WebXR] Discard MSAA attachments after rendering
    https://bugs.webkit.org/show_bug.cgi?id=324239

    Reviewed by Kimmo Kinnunen.

    In order to implement MSAA in WebXR, WebKit uses a multisampled
    renderbuffer. Render buffers are write-only objects, nobody is going to
    read from them after the contents are resolved. On tile-based rendering
    GPUs, after a render pass is completed, the contents of the renderbuffer
    are saved into RAM because the OpenGL driver does not know whether it
    can simply discard them. For a 3200*1600 framebuffer with 4x MSAA that's
    82Mb written per frame (actually 82 + 82 if depth/stencil are used too).
    That's a very expensive operation that adds nothing and should be
    avoided.

    The fix is to do the same as VisionOS, discard the render buffer
    attachments before finishing the render pass. VisionOS does not even
    need the blit as that port uses a special ANGLE extension for Metal
    backend that gives an FBO a resolve destination alongside its
    multisampled attachment.

    No new tests as this operates at OpenGLES driver level.

    * Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp:
    (WebCore::WebXROpaqueFramebuffer::resolveMSAAFramebuffer):
    * Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
    (WebCore::GraphicsContextGLANGLE::framebufferDiscard):
    * Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:
    * 
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.cpp:
    
(WebCore::GraphicsContextGLTextureMapperAndroid::enableRequiredWebXRExtensionsImpl):
    * Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.h:
    * Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
    (WebCore::GraphicsContextGLCocoa::framebufferDiscard): Deleted.
    * 
Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp:
    
(WebCore::GraphicsContextGLTextureMapperGBM::enableRequiredWebXRExtensionsImpl):

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

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


Compare: https://github.com/WebKit/WebKit/compare/f10c36f9c8d7...6cebb146c89a

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

Reply via email to