glamor: Add fd_from_pixmap hook

Graphics / X.Org / X.Org Server - Daniel Stone [collabora.com] - 4 April 2018 17:46 EDT

Add a fd_from_pixmap (singular) hook to go with fds_from_pixmap, which will ensure that the pixmap is allocated without modifiers and is thus exportable to non-modifier-aware clients.

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.

23c67987a glamor: Add fd_from_pixmap hook
glamor/glamor_egl.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Upstream: cgit.freedesktop.org


  • Share