icd: Functions for calling vendor ICD semaphore and fence functions 60/69260/1
authorTaekyun Kim <tkq.kim@samsung.com>
Thu, 12 May 2016 09:35:46 +0000 (18:35 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Thu, 12 May 2016 09:35:46 +0000 (18:35 +0900)
Change-Id: Idd757bae2504cb5ba94808f12e9191270fb8b088

src/wsi/icd.c
src/wsi/wsi.h

index b356376..b5678a0 100644 (file)
@@ -128,6 +128,24 @@ vk_icd_create_presentable_image(VkDevice                            device,
        return icd.create_presentable_image(device, info, surface);
 }
 
+VkBool32
+vk_icd_signal_semaphore(VkSemaphore semaphore)
+{
+       return icd.signal_semaphore(semaphore);
+}
+
+VkBool32
+vk_icd_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores)
+{
+       return icd.wait_for_semaphores(count, semaphores);
+}
+
+VkBool32
+vk_icd_signal_fence(VkFence fence)
+{
+       return icd.signal_fence(fence);
+}
+
 VKAPI_ATTR VkResult VKAPI_CALL
 vk_EnumerateInstanceExtensionProperties(const char                             *layer_name,
                                                                                uint32_t                                *count,
index 279a4b3..00d1c0e 100644 (file)
@@ -85,6 +85,15 @@ VkImage
 vk_icd_create_presentable_image(VkDevice device, const VkImageCreateInfo *info,
                                                                tbm_surface_h buffer);
 
+VkBool32
+vk_icd_signal_semaphore(VkSemaphore semaphore);
+
+VkBool32
+vk_icd_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores);
+
+VkBool32
+vk_icd_signal_fence(VkFence fence);
+
 /* Entry point proto types. */
 VKAPI_ATTR VkResult VKAPI_CALL
 vk_GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice pdev, uint32_t queue_family_index,