From 5128ca8e5f4dd6b3d38216891efc0d43189a2205 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Fri, 17 Jun 2022 12:54:46 +0200 Subject: Added fix for mozilla#1774271 --- mozilla-1774271.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mozilla-1774271.patch (limited to 'mozilla-1774271.patch') diff --git a/mozilla-1774271.patch b/mozilla-1774271.patch new file mode 100644 index 0000000..6029b22 --- /dev/null +++ b/mozilla-1774271.patch @@ -0,0 +1,31 @@ +changeset: 623945:6117c9ecd16b +tag: tip +parent: 623941:45e313943df5 +user: stransky +date: Fri Jun 17 12:36:38 2022 +0200 +files: gfx/thebes/gfxPlatform.cpp +description: +Bug 1774271 [Linux] Don't use EGL_MESA_image_dma_buf_export in Mesa/Intel due to https://gitlab.freedesktop.org/mesa/mesa/-/issues/6688 r?jgilbert + +Depends on https://phabricator.services.mozilla.com/D149238 + +Differential Revision: https://phabricator.services.mozilla.com/D149608 + + +diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp +--- a/gfx/thebes/gfxPlatform.cpp ++++ b/gfx/thebes/gfxPlatform.cpp +@@ -2871,6 +2871,12 @@ void gfxPlatform::InitWebGLConfig() { + adapterDriverVendor.Find("radeonsi") != -1) { + gfxVars::SetUseDMABufSurfaceExport(false); + } ++ // Disable EGL_MESA_image_dma_buf_export on mesa/iris due to ++ // https://gitlab.freedesktop.org/mesa/mesa/-/issues/6688 ++ if (adapterDriverVendor.Find("mesa") != -1 && ++ adapterDriverVendor.Find("iris") != -1) { ++ gfxVars::SetUseDMABufSurfaceExport(false); ++ } + } + } + + -- cgit