mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-22 14:41:47 +00:00
c/client: Pass external_[fence|semaphore]_fd status in
This commit is contained in:
parent
c8de67ad94
commit
989c4334a3
|
@ -770,6 +770,8 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
|
||||||
PFN_vkGetInstanceProcAddr getProc,
|
PFN_vkGetInstanceProcAddr getProc,
|
||||||
VkPhysicalDevice physicalDevice,
|
VkPhysicalDevice physicalDevice,
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
|
bool external_fence_fd_enabled,
|
||||||
|
bool external_semaphore_fd_enabled,
|
||||||
bool timeline_semaphore_enabled,
|
bool timeline_semaphore_enabled,
|
||||||
uint32_t queueFamilyIndex,
|
uint32_t queueFamilyIndex,
|
||||||
uint32_t queueIndex)
|
uint32_t queueIndex)
|
||||||
|
@ -818,8 +820,8 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
|
||||||
device, // device
|
device, // device
|
||||||
queueFamilyIndex, // queue_family_index
|
queueFamilyIndex, // queue_family_index
|
||||||
queueIndex, // queue_index
|
queueIndex, // queue_index
|
||||||
true, // external_fence_fd_enabled
|
external_fence_fd_enabled, // external_fence_fd_enabled
|
||||||
true, // external_semaphore_fd_enabled
|
external_semaphore_fd_enabled, // external_semaphore_fd_enabled
|
||||||
timeline_semaphore_enabled, // timeline_semaphore_enabled
|
timeline_semaphore_enabled, // timeline_semaphore_enabled
|
||||||
log_level); // log_level
|
log_level); // log_level
|
||||||
if (ret != VK_SUCCESS) {
|
if (ret != VK_SUCCESS) {
|
||||||
|
|
|
@ -99,6 +99,8 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
|
||||||
PFN_vkGetInstanceProcAddr getProc,
|
PFN_vkGetInstanceProcAddr getProc,
|
||||||
VkPhysicalDevice physicalDevice,
|
VkPhysicalDevice physicalDevice,
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
|
bool external_fence_fd_enabled,
|
||||||
|
bool external_semaphore_fd_enabled,
|
||||||
bool timeline_semaphore_enabled,
|
bool timeline_semaphore_enabled,
|
||||||
uint32_t queueFamilyIndex,
|
uint32_t queueFamilyIndex,
|
||||||
uint32_t queueIndex);
|
uint32_t queueIndex);
|
||||||
|
|
|
@ -79,6 +79,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
|
||||||
get_instance_proc_addr, //
|
get_instance_proc_addr, //
|
||||||
physical_device, //
|
physical_device, //
|
||||||
device, //
|
device, //
|
||||||
|
true, //
|
||||||
|
true, //
|
||||||
timeline_semaphore_enabled, //
|
timeline_semaphore_enabled, //
|
||||||
queue_family_index, //
|
queue_family_index, //
|
||||||
queue_index); //
|
queue_index); //
|
||||||
|
|
Loading…
Reference in a new issue