diff options
author | Erik Kurzinger <ekurzinger@nvidia.com> | 2021-05-14 08:26:49 -0400 |
---|---|---|
committer | Erik Kurzinger <ekurzinger@nvidia.com> | 2021-05-17 12:32:22 -0400 |
commit | 3d33d885fcd1215a74c1819278cf6f9557c9860b (patch) | |
tree | 5c38e7963cd07a5f24a674baea7d96903fcad455 /hw/xwayland/xwayland-screen.c | |
parent | 012350e3db47fef0404346f55968032e62004fcf (diff) |
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: Erik Kurzinger <ekurzinger@nvidia.com>
Acked-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Diffstat (limited to 'hw/xwayland/xwayland-screen.c')
0 files changed, 0 insertions, 0 deletions