Skip to content
Snippets Groups Projects
Commit 3d33d885 authored by Erik Kurzinger's avatar Erik Kurzinger
Browse files

xwayland/eglstream: allow commits to dma-buf backed pixmaps


As of commit 098e0f52 xwl_glamor_eglstream_allow_commits will not allow commits
if the xwl_pixmap does not have an EGLSurface. This is valid for pixmaps backed
by an EGLStream, however pixmaps backed by a dma-buf for OpenGL or Vulkan
rendering will never have an EGLSurface.  Unlike EGLStream backed pixmaps,
though, glamor will render directly to the buffer that Xwayland passes to the
compositor. Hence, they don't require the intermediate copy in
xwl_glamor_eglstream_post_damage that EGLStream backed pixmaps do, so there is
no need for an EGLSurface.

Signed-off-by: default avatarErik Kurzinger <ekurzinger@nvidia.com>
Acked-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: default avatarMichel Dänzer <mdaenzer@redhat.com>
parent 012350e3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment