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

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