vulkan-wsi-layer/util
David Harvey-Macaulay ba0684b5e0 Mark fences and semaphores as already signalled in AcquireNextImage
The VK_KHR_external_[fence|semaphore]_fd extensions allow sync
primitives to be signalled without the use of QueueSubmit. Using these
extensions in AcquireNextImage instead of using QueueSubmit offers two
advantages: (1) there is no waiting for work to complete in the queue
before the primitives are signalled and (2) there is no data race if
the application happens to call QueueSubmit on the same queue at the
same time.

The QueueSubmit method of signalling sync primitives continues to be
used for ICDs that do not support the external FD extensions.

Signed-off-by: David Harvey-Macaulay <david.harvey-macaulay@arm.com>
Change-Id: Ib4a922d44430110e2353a4e0221e27017e72abab
2022-02-08 15:27:29 +00:00
..
drm Add versioning to wsialloc interface 2021-11-15 13:59:10 +00:00
wsialloc Casting operands to a wider type to prevent integer overflow 2021-12-10 12:11:30 +00:00
custom_allocator.cpp Set default visiblity of functions to hidden 2021-11-08 13:42:20 +00:00
custom_allocator.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
extension_list.cpp Improve error handling when copying extension name 2021-11-29 09:18:11 +00:00
extension_list.hpp Mark fences and semaphores as already signalled in AcquireNextImage 2022-02-08 15:27:29 +00:00
file_descriptor.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
helpers.hpp Mark fences and semaphores as already signalled in AcquireNextImage 2022-02-08 15:27:29 +00:00
log.cpp Fix formatting issues 2021-10-29 08:51:25 +00:00
log.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
macros.hpp Set default visiblity of functions to hidden 2021-11-08 13:42:20 +00:00
optional.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
platform_set.hpp layer: improve how layer handles Vulkan extensions 2021-02-05 11:22:32 +00:00
ring_buffer.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
timed_semaphore.cpp Update code to use modern c++ style 2021-11-11 10:15:22 +00:00
timed_semaphore.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
unordered_map.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
unordered_set.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00