mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-02 04:10:09 +01:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| busfault.h | ||
| callback.h | ||
| client.h | ||
| closestr.h | ||
| closure.h | ||
| colormap.h | ||
| colormapst.h | ||
| cursor.h | ||
| cursorstr.h | ||
| dbus-core.h | ||
| displaymode.h | ||
| dix-config-apple-verbatim.h | ||
| dix-config.h.in | ||
| dix.h | ||
| dixaccess.h | ||
| dixevents.h | ||
| dixfont.h | ||
| dixfontstr.h | ||
| dixgrabs.h | ||
| dixstruct.h | ||
| eventconvert.h | ||
| events.h | ||
| eventstr.h | ||
| exevents.h | ||
| extension.h | ||
| extinit.h | ||
| extnsionst.h | ||
| fourcc.h | ||
| gc.h | ||
| gcstruct.h | ||
| globals.h | ||
| glx_extinit.h | ||
| glxvndabi.h | ||
| hotplug.h | ||
| input.h | ||
| inputstr.h | ||
| inpututils.h | ||
| list.h | ||
| Makefile.am | ||
| meson.build | ||
| misc.h | ||
| miscstruct.h | ||
| nonsdk_extinit.h | ||
| opaque.h | ||
| optionstr.h | ||
| os.h | ||
| pixmap.h | ||
| pixmapstr.h | ||
| privates.h | ||
| probes.h | ||
| property.h | ||
| propertyst.h | ||
| protocol-versions.h | ||
| ptrveloc.h | ||
| region.h | ||
| regionstr.h | ||
| registry.h | ||
| resource.h | ||
| rgb.h | ||
| screenint.h | ||
| scrnintstr.h | ||
| selection.h | ||
| servermd.h | ||
| swaprep.h | ||
| swapreq.h | ||
| systemd-logind.h | ||
| validate.h | ||
| version-config.h.in | ||
| vidmodestr.h | ||
| window.h | ||
| windowstr.h | ||
| XIstubs.h | ||
| xkb-config.h.in | ||
| xkbfile.h | ||
| xkbrules.h | ||
| xkbsrv.h | ||
| xkbstr.h | ||
| xorg-config.h.in | ||
| xorg-config.h.meson.in | ||
| xorg-server.h.in | ||
| xorg-server.h.meson.in | ||
| Xprintf.h | ||
| xserver-properties.h | ||
| Xserver.d | ||
| xserver_poll.h | ||
| xsha1.h | ||
| xwayland-config.h.in | ||
| xwayland-config.h.meson.in | ||
| xwin-config.h.in | ||
| xwin-config.h.meson.in | ||