Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 20d6d92cc3f91ba23ecf064dc8bb98ec9d764ec7
      
https://github.com/WebKit/WebKit/commit/20d6d92cc3f91ba23ecf064dc8bb98ec9d764ec7
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2025-12-16 (Tue, 16 Dec 2025)

  Changed paths:
    M Source/WebCore/PlatformWPE.cmake
    M Source/WebCore/SourcesWPE.txt
    M Source/WebCore/platform/Logging.h
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    A Source/WebCore/platform/graphics/android/BufferFormatAndroid.cpp
    A Source/WebCore/platform/graphics/android/BufferFormatAndroid.h
    M Source/WebCore/platform/graphics/egl/GLDisplay.cpp
    M Source/WebCore/platform/graphics/egl/GLDisplay.h
    M Source/WebKit/Shared/WebPageCreationParameters.h
    M Source/WebKit/Shared/WebPageCreationParameters.serialization.in
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
    M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/glib/AcceleratedBackingStore.messages.in
    M Source/WebKit/UIProcess/glib/RendererBufferDescription.h
    M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
    M Source/WebKit/UIProcess/wpe/AcceleratedBackingStore.cpp
    M Source/WebKit/UIProcess/wpe/AcceleratedBackingStore.h
    M Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.h
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h
    M Source/WebKit/WebProcess/WebPage/DrawingArea.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in
    M Source/WebKit/WebProcess/WebPage/wpe/WebPageWPE.cpp

  Log Message:
  -----------
  [WPEPlatform] Support AHardwareBuffer as accelerated backing store
https://bugs.webkit.org/show_bug.cgi?id=294347

Reviewed by Nikolas Zimmermann.

Enable using AHardwareBuffer-backed EGL images as render target, which
in turn allows zero-copy transport of graphics buffers with WPEPlatform
on Android.

The main changes involve teaching RenderTargetEGLImage how to create an
AHardwareBuffer-backed EGLImage, and the needed machinery to notify the
AcceleratedBackingStore about buffer creation.

Part of the changes enable seting the preferred buffer formats using the
relevant WPEPlatform API functionality, reusing the same code paths used
on regular Linux where GBM is available, converting from AHardwareBuffer
buffer format constants and back as needed to allow the public API to
continue using FourCC format codes. A default set of useable buffer
formats for the display is probed at runtime.

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



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

Reply via email to