diff options
author | Daniel Stone <daniels@collabora.com> | 2018-04-04 16:16:32 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-04 13:46:57 -0400 |
commit | 75bba3aedcb04132a4fe2806680cd38a8f2bd206 (patch) | |
tree | 3c4ff254b3ccbabf1dd06a52f0f9c3296a391d41 /include/windowstr.h | |
parent | 574069c2912893a9b9fd3d701eb3ad4784e31553 (diff) |
dri3: Use single-FD screen call for single-FD request
When importing client buffers into Pixmaps, we can use the fds_to_pixmap
hook for both single-FD and multi-FD client requests without any harm.
For the other direction of exporting Pixmap buffers to client FDs,
create a new helper which calls the old pixmap_to_fd hook if available.
This allows the implementation to ensure that the Pixmap storage is
accessible to clients not aware of multiple planes or modifiers, e.g. by
reallocating and copying.
This makes it possible to run a compositing manager on an old GLX/EGL
stack on top of an X server which allocates internal buffer storage
using exotic modifiers from modifier-aware GBM/EGL/KMS.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reported-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/windowstr.h')
0 files changed, 0 insertions, 0 deletions