weston/clients
Derek Foreman 71191cd127 clients: Fix dmabuf feedback stall in simple-vulkan
When we receive dmabuf feedback, we hit the VK_SUBOPTIMAL path and
recreate the swapchain, returning early without submitting work.

However, we've already reset the fence before we do this, so we'll
block forever waiting for work that never comes to signal it.

Instead, we should reset the fence right before we know we're submitting
work.

Fixes: 75c37afa ("clients/simple-vulkan: New Vulkan client example")

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
(cherry picked from commit af736168f7)
2026-04-23 21:30:26 +03:00
..
calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
clickdot.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
cliptest.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
color.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
constraints.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
content_protection.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
desktop-shell.c desktop-shell: Force scale to 1 for single pixel buffer 2025-10-18 11:51:05 -05:00
dnd.c cliients/dnd: Fix self-only mode 2025-10-21 05:47:29 +00:00
editor.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
eventdemo.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
flower.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
fullscreen.c clients/fullscreen: Add option to map window fullscreen 2025-01-06 12:17:40 +00:00
image.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-shell-user-interface.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
keyboard.c weston-keyboard: Create input_panel_surface earlier 2023-11-21 13:30:51 +00:00
meson.build clients: Add a commit-timing test client 2025-12-16 10:58:01 -06:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
presentation-shm.c compositor: Update to presentation-timing version 2 2025-12-16 10:21:43 -06:00
resizor.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
scaler.c clients/scaler: check viewporter availability 2023-05-02 18:02:33 +03:00
screenshot.c clients: screenshot: YUV support 2025-10-07 11:48:33 +02:00
simple-damage.c clients/simple-damage: Remove zwp_fullscreen support 2024-05-27 16:49:21 +00:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: Add missing destructors 2025-05-23 20:36:05 +01:00
simple-dmabuf-feedback.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-v4l.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-vulkan.c clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple-egl.c clients/simple-egl: destroy tearing_manager on exit 2025-04-02 06:34:13 +00:00
simple-im.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-shm.c simple-shm: Allow to make simple-shm fullscreen with just the keyboard 2025-10-24 22:31:39 +01:00
simple-timing.c simple-timing: Use don't use the frame callback mechanism 2026-01-06 09:10:53 -06:00
simple-touch.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-vulkan.c clients: Fix dmabuf feedback stall in simple-vulkan 2026-04-23 21:30:26 +03:00
simple_dmabuf_vulkan_fragment_shader.frag clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_dmabuf_vulkan_vertex_shader.vert clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_fragment_shader.frag clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_vertex_shader.vert clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
smoke.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
stacking.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
subsurfaces.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
tablet.c clients: Add demo application for tablets 2023-03-31 12:10:26 +00:00
terminal.c terminal: Restore SIGPIPE signal handler to oldact (SIG_DFL) 2025-03-13 10:37:08 +02:00
touch-calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
transformed.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
weston-debug.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
window.c clients/window: Fix segfault when dragging with touchscreen 2026-02-09 00:32:42 -08:00
window.h clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00