summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2021-05-20 16:46:33 +0200
committerOlivier Fourdan <ofourdan@redhat.com>2021-06-21 11:16:58 +0200
commit831426afd1832c6a671cac5d29bda15736dce68e (patch)
treeb439f1f9b14c26ec86fb9cb0a2645dad785304ef
parent2e1bb50644ce2553451da74506f8f26cb7222a8f (diff)
downloadxserver-831426afd1832c6a671cac5d29bda15736dce68e.tar.gz
xwayland/eglstream: Log when GL_OES_EGL_image is missing
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 <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> (cherry picked from commit 34a58d7714025bc1043bf5282358406eb10e4b8e)
-rw-r--r--hw/xwayland/xwayland-glamor-eglstream.c2
1 files changed, 2 insertions, 0 deletions
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;