Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGRESSION(2.41.6): [GTK] Yelp help viewer and Epiphany browser do not show content on a virtual machine (llvmpipe?) with WebKitGTK 2.41.6 #15929

Merged

Commits on Jul 21, 2023

  1. REGRESSION(2.41.6): [GTK] Yelp help viewer and Epiphany browser do no…

    …t show content on a virtual machine (llvmpipe?) with WebKitGTK 2.41.6
    
    https://bugs.webkit.org/show_bug.cgi?id=259320
    
    Reviewed by Michael Catanzaro.
    
    The problem is that for some reason the surfaceless platform is claiming
    to support EGL_MESA_image_dma_buf_export with llvmpipe driver, while the
    display in the UI process doesn't support EGL_EXT_image_dma_buf_import
    with llvmpipe as expected. So, we end up exporting DMABuf buffers (or
    trying) that the UI process can't handle. We should always pass to the
    web process the buffers supported by the UI process (hardware or shared
    memory) and ensure we only export buffers supported by the UI process.
    
    * Source/WebKit/Shared/WebProcessCreationParameters.h:
    * Source/WebKit/Shared/WebProcessCreationParameters.serialization.in:
    * Source/WebKit/Shared/glib/DMABufRendererBufferMode.h: Added.
    * Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
    (WebKit::dmabufRendererWithSupportedBuffers):
    (WebKit::WebKitProtocolHandler::handleGPU):
    * Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
    (WebKit::WebProcessPool::platformInitializeWebProcess):
    * Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
    (WebKit::AcceleratedBackingStoreDMABuf::rendererBufferMode):
    (WebKit::AcceleratedBackingStoreDMABuf::checkRequirements):
    * Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h:
    * Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp:
    (WebKit::AcceleratedSurfaceDMABuf::clientResize):
    * Source/WebKit/WebProcess/WebProcess.h:
    (WebKit::WebProcess::dmaBufRendererBufferMode const):
    * Source/WebKit/WebProcess/glib/WebProcessGLib.cpp:
    (WebKit::WebProcess::platformInitializeWebProcess):
    
    Canonical link: https://commits.webkit.org/266201@main
    carlosgcampos committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ad44d7b View commit details
    Browse the repository at this point in the history