xserver/hw
James Jones f15729376d Use EGL_LINUX_DMA_BUF_EXT to create GBM bo EGLImages
Xwayland was passing GBM bos directly to
eglCreateImageKHR using the EGL_NATIVE_PIXMAP_KHR
target. Given the EGL GBM platform spec claims it
is invalid to create a EGLSurface from a native
pixmap on the GBM platform, implying there is no
mapping between GBM objects and EGL's concept of
native pixmaps, this seems a bit questionable.

This change modifies the bo import function to
extract all the required data from the bo and then
imports it as a dma-buf instead when the dma-buf +
modifiers path is available.

Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
2021-10-05 14:12:16 -07:00
..
kdrive glamor: Require EGL_KHR_no_config_context 2021-09-15 19:14:23 +00:00
vfb mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
xfree86 Revert "modesetting: Only use GAMMA_LUT if its size is 1024" 2021-09-27 09:44:48 +00:00
xnest mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
xquartz French text in Preferences Pane Review 2021-04-07 16:19:24 -07:00
xwayland Use EGL_LINUX_DMA_BUF_EXT to create GBM bo EGLImages 2021-10-05 14:12:16 -07:00
xwin mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
Makefile.am Drop DMX DDX 2021-09-07 09:34:31 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00