Files
xserver/include
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
..
2020-07-05 13:07:33 -07:00
2014-07-17 10:19:52 -07:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2015-06-30 12:17:51 +10:00
2021-09-06 21:19:46 +00:00
2014-11-12 10:25:00 +10:00
2018-02-14 17:04:48 -05:00
2017-06-20 16:37:24 -04:00
2020-09-15 11:43:16 +02:00
2014-11-12 10:25:00 +10:00
2017-03-17 15:14:42 -04:00
2018-01-22 17:28:12 -05:00
2020-07-05 13:07:33 -07:00
2021-05-30 13:26:42 +03:00
2020-09-15 11:43:16 +02:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2015-01-23 10:35:49 -08:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2019-04-12 21:53:03 +00:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2020-07-05 13:07:33 -07:00
2019-01-10 18:40:20 +02:00
2014-11-12 10:25:00 +10:00