Doğukan Korkmaztürk
7c3de4a2da
vulkan: Recreate swapchain when it is necessary or beneficial
...
Currently, GTK does not check the result of vkAcquireNextImageKHR() and
assumes that it always succeeds. As a result, the vkQueuePresentKHR() is
unconditionally set to wait for the semaphore passed to
vkAcquireNextImageKHR() earlier.
However, if vkAcquireNextImageKHR() fails for some reason, the semaphore
passed to it does not get signalled. This causes the presentation
command to wait for the semaphore to be signalled indefinitely, which
causes GTK to hang.
This change adds error handling around vkAcquireNextImageKHR() to make
GTK recreate the Vulkan swapchain when it is necessary or beneficial and
helps avoiding situations that could cause indefinite waits.
2024-05-04 22:14:33 -04:00
..
2024-04-11 15:47:38 -04:00
2023-05-21 09:46:49 -04:00
2024-04-28 23:42:02 -04:00
2024-04-25 01:35:59 +00:00
2023-05-09 16:43:35 +01:00
2024-04-27 11:47:26 -04:00
2024-05-03 09:52:57 -03:00
2024-04-29 12:12:22 -04:00
2023-09-21 19:51:11 +02:00
2023-11-05 11:16:23 +01:00
2023-03-31 15:11:10 -04:00
2024-04-26 18:32:08 +00:00
2023-10-11 15:43:01 -04:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-10-14 22:11:44 +02:00
2023-05-15 20:30:38 -04:00
2023-05-15 18:22:37 -04:00
2021-09-24 22:50:29 +02:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-01-05 14:57:07 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2022-10-05 23:01:28 -04:00
2022-09-23 23:14:08 -04:00
2023-03-14 14:56:42 -04:00
2023-05-09 17:36:59 +01:00
2023-06-09 08:17:34 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-05-15 18:22:37 -04:00
2023-05-09 17:36:59 +01:00
2024-04-04 01:07:28 +02:00
2024-04-04 01:07:28 +02:00
2024-04-04 01:07:28 +02:00
2024-04-15 19:53:46 -04:00
2024-01-13 01:30:02 +01:00
2023-05-09 17:36:59 +01:00
2021-05-22 17:25:26 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2022-12-08 12:16:22 +00:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-03-27 16:30:27 +01:00
2024-01-25 12:09:10 +01:00
2023-05-01 10:40:26 -04:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2024-01-25 12:09:10 +01:00
2024-04-29 14:30:56 +02:00
2023-12-20 10:59:25 +01:00
2023-12-20 10:59:25 +01:00
2024-04-29 14:30:56 +02:00
2023-12-20 01:51:46 +01:00
2024-02-07 12:38:18 -05:00
2024-02-07 12:38:18 -05:00
2023-10-24 22:33:45 -04:00
2023-10-14 22:29:10 +02:00
2023-10-14 22:29:10 +02:00
2024-02-16 14:01:44 +01:00
2024-01-07 07:22:51 +01:00
2024-04-11 12:45:24 -04:00
2023-12-20 01:51:46 +01:00
2024-04-07 13:03:13 -04:00
2023-10-14 22:30:17 +02:00
2024-04-07 11:12:13 -04:00
2024-04-07 11:12:13 -04:00
2024-03-21 21:36:38 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-03-26 15:50:22 +01:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2023-03-20 08:14:25 +00:00
2023-05-09 17:36:59 +01:00
2023-03-14 19:41:44 -07:00
2024-01-07 20:44:05 -05:00
2023-11-13 22:17:35 +01:00
2023-11-13 22:17:35 +01:00
2023-10-19 10:06:53 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-02-24 01:12:59 +01:00
2024-02-07 16:36:26 +01:00
2023-12-22 08:47:47 -05:00
2024-02-07 16:36:26 +01:00
2024-03-10 10:27:36 +01:00
2023-03-31 15:11:10 -04:00
2024-05-01 08:03:16 -04:00
2023-03-31 15:11:10 -04:00
2024-03-10 10:27:36 +01:00
2023-03-14 14:56:42 -04:00
2023-05-09 17:36:59 +01:00
2024-03-16 13:44:02 +01:00
2024-05-03 16:40:01 +12:00
2023-05-09 17:36:59 +01:00
2024-03-16 20:55:26 +01:00
2021-09-24 22:50:29 +02:00
2024-03-16 13:44:02 +01:00
2023-05-09 17:36:59 +01:00
2024-01-07 20:44:05 -05:00
2023-05-09 17:36:59 +01:00
2023-04-27 06:55:37 +02:00
2023-04-27 02:13:33 +02:00
2021-09-10 16:56:42 -05:00
2023-03-31 15:11:10 -04:00
2022-09-24 10:03:37 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2022-01-13 14:42:34 +00:00
2023-03-31 15:11:10 -04:00
2022-01-29 14:31:09 +02:00
2021-12-07 22:21:19 -08:00
2024-01-16 20:35:20 +01:00
2024-01-16 20:35:20 +01:00
2023-07-31 16:51:03 +02:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-04-09 19:13:34 -04:00
2024-01-30 20:56:08 -05:00
2024-04-09 19:13:34 -04:00
2024-01-05 14:57:07 -05:00
2024-03-29 13:31:36 +00:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-10-10 11:23:08 +03:00
2023-05-09 17:36:59 +01:00
2023-03-27 21:29:08 +02:00
2023-03-31 15:11:10 -04:00
2024-01-05 14:57:07 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-07-20 15:18:13 -04:00
2024-01-21 14:02:08 -05:00
2023-03-31 15:11:10 -04:00
2021-05-22 17:25:26 -04:00
2024-01-06 17:18:18 -05:00
2023-04-29 05:07:03 +02:00
2024-04-15 22:57:01 -04:00
2023-12-02 10:55:35 +05:45
2024-04-15 22:57:01 -04:00
2022-09-23 23:33:42 -04:00
2023-06-14 01:42:53 +02:00
2021-09-27 23:19:33 +03:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2024-01-05 14:57:07 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-04-15 19:53:46 -04:00
2024-04-15 19:53:46 -04:00
2024-01-21 14:02:08 -05:00
2024-01-07 14:47:22 +01:00
2024-02-07 17:33:20 -05:00
2024-04-28 23:42:02 -04:00
2023-05-09 17:36:59 +01:00
2024-01-07 20:44:05 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-12-08 11:29:56 +00:00
2024-01-05 14:57:07 -05:00
2023-07-30 11:40:09 +03:00
2021-05-22 17:25:26 -04:00
2023-05-09 17:36:59 +01:00
2023-05-14 23:49:44 -04:00
2024-01-25 12:09:10 +01:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-12-20 01:51:46 +01:00
2024-05-04 22:14:33 -04:00
2024-01-07 14:47:22 +01:00
2024-01-07 15:07:15 +01:00
2021-10-06 03:44:36 +02:00
2022-09-24 10:03:37 -04:00
2022-09-24 10:03:37 -04:00
2024-04-11 15:47:38 -04:00