Blame SOURCES/0025-xwayland-eglstream-Log-when-GL_OES_EGL_image-is-miss.patch

5f5628
From 0cb42b7de629e74afed9b19d47672cebfe08f12e Mon Sep 17 00:00:00 2001
5f5628
From: Olivier Fourdan <ofourdan@redhat.com>
5f5628
Date: Thu, 20 May 2021 16:46:33 +0200
5f5628
Subject: [PATCH xserver 25/27] xwayland/eglstream: Log when GL_OES_EGL_image
5f5628
 is missing
5f5628
MIME-Version: 1.0
5f5628
Content-Type: text/plain; charset=UTF-8
5f5628
Content-Transfer-Encoding: 8bit
5f5628
5f5628
That will dramatically affect performance, might as well log when we
5f5628
cannot use GL_OES_EGL_image with the NVIDIA closed-source driver.
5f5628
5f5628
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
5f5628
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
5f5628
(cherry picked from commit 34a58d7714025bc1043bf5282358406eb10e4b8e)
5f5628
---
5f5628
 hw/xwayland/xwayland-glamor-eglstream.c | 2 ++
5f5628
 1 file changed, 2 insertions(+)
5f5628
5f5628
diff --git a/hw/xwayland/xwayland-glamor-eglstream.c b/hw/xwayland/xwayland-glamor-eglstream.c
5f5628
index 5e89849ff..0affc954c 100644
5f5628
--- a/hw/xwayland/xwayland-glamor-eglstream.c
5f5628
+++ b/hw/xwayland/xwayland-glamor-eglstream.c
5f5628
@@ -1200,6 +1200,8 @@ xwl_glamor_eglstream_init_egl(struct xwl_screen *xwl_screen)
5f5628
             xwl_screen->glvnd_vendor = "nvidia";
5f5628
         else
5f5628
             ErrorF("DRI3 initialization failed. Performance will be affected.\n");
5f5628
+    } else {
5f5628
+        ErrorF("Driver lacks GL_OES_EGL_image, performance will be affected.\n");
5f5628
     }
5f5628
 
5f5628
     return TRUE;
5f5628
-- 
5f5628
2.31.1
5f5628