diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2021-05-20 16:46:33 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2021-06-21 11:16:58 +0200 |
commit | 831426afd1832c6a671cac5d29bda15736dce68e (patch) | |
tree | b439f1f9b14c26ec86fb9cb0a2645dad785304ef | |
parent | 2e1bb50644ce2553451da74506f8f26cb7222a8f (diff) | |
download | xserver-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.c | 2 |
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; |