diff options
Diffstat (limited to 'mozilla-1774271.patch')
-rw-r--r-- | mozilla-1774271.patch | 31 |
1 files changed, 31 insertions, 0 deletions
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 <stransky@redhat.com> +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); ++ } + } + } + + |