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