Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 267070@main (75237ef). https://bugs.webkit.org/show_bug.c…
…gi?id=260431 [GTK][WPE] Pass GBM_BO_USE_RENDERING to gbm_bo_create https://bugs.webkit.org/show_bug.cgi?id=260431 Reviewed by Michael Catanzaro. I suspect nvidia GBM implementation defaults to GBM_BO_USE_SCANOUT when no flags are passed and then tries to create KMS dumb buffers. In any case, using GBM_BO_USE_RENDERING is correct since those buffers are created in the web process for rendering (as a color buffer storage). * Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp: (WebCore::GBMBufferSwapchain::getBuffer): * Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp: (WebKit::AcceleratedSurfaceDMABuf::RenderTargetEGLImage::create): Canonical link: https://commits.webkit.org/267070@main Canonical link: https://commits.webkit.org/266719.25@webkitglib/2.42
- Loading branch information