xwayland-eglstream: disallow commits for flipping GL / VK windows

If a window is being used for direct rendering with OpenGL or Vulkan, and is
using the flipping path for presentation, it's pixmap will be backed by a
dma-buf pixmap created by the client-side GL driver. However, this means that
xwl_glamor_eglstream_post_damage won't work since it requires that the pixmap
has an EGLSurface that it can render to, which dma-buf backed pixmaps do not.

The implication is that X rendering on a flipping OpenGL or Vulkan window isn't
possible with the eglstream backend. Currently, if an application tries to do
this, it will trigger an assert in xwl_glamor_eglstream_allow_commits. With
this commit, xwl_glamor_eglstream_allow_commits will instead just return false.

Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com>
Acked-by: Olivier Fourdan <ofourdan@redhat.com>
5 jobs for xwayland-eglstream-glx in 5 minutes and 11 seconds (queued for 1 second)
Status Name Job ID Coverage
  Docker Image
passed debian-buster #9246515


  Build And Test
passed autotools #9246516


passed meson #9246517


passed meson-noglamor #9246518


passed mingw-cross-build #9246519