xserver/hw
Michel Dänzer 91b5a003a5 xwayland/glamor/gbm: Don't close fence_fd after xwl_glamor_wait_fence
eglCreateSyncKHR takes ownership of the file descriptor. Noticed by
inspection.

While we're at it, move the fence_fd declaration to the scope where
it's used.

Last but not least, close the fd in xwl_glamor_wait_fence when bailing
before calling eglCreateSyncKHR, and document that it takes ownership.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1712>
2024-10-22 16:26:09 +00:00
..
kdrive drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
vfb drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
xfree86 xfree86: fbdevhw: fix pci detection on recent Linux 2024-10-10 21:32:46 +00:00
xnest Xnest: drop obsolete ifdef HAVE_XNEST_CONFIG_H 2024-10-10 13:38:31 +00:00
xquartz xquartz: drop unused code 2024-10-10 16:42:38 +00:00
xwayland xwayland/glamor/gbm: Don't close fence_fd after xwl_glamor_wait_fence 2024-10-22 16:26:09 +00:00
xwin xwin: fix memleak on freeing pixmaps 2024-10-10 20:27:11 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00