From: Taekyun Kim Date: Thu, 12 May 2016 09:17:44 +0000 (+0900) Subject: wsi: Add function prototypes that vendors should provide X-Git-Tag: submit/submit/tizen/20170906.070327/20170906.070422~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59782cb21c7c60426caa98e3ed499c9333bba352;p=platform%2Fcore%2Fuifw%2Fvulkan-wsi-tizen.git wsi: Add function prototypes that vendors should provide Change-Id: Ie19a4dd9924cf9273f58f490d56f2d71b11aaeae --- diff --git a/src/wsi/vulkan-wsi-tizen.h b/src/wsi/vulkan-wsi-tizen.h index 6553053..fede261 100644 --- a/src/wsi/vulkan-wsi-tizen.h +++ b/src/wsi/vulkan-wsi-tizen.h @@ -1,11 +1,19 @@ #ifndef VULKAN_WSI_TIZEN_H #define VULKAN_WSI_TIZEN_H -#include -#include +#include #include VkImage vk_create_presentable_image(VkDevice device, const VkImageCreateInfo *info, tbm_surface_h buffer); +VkBool32 +vk_signal_semaphore(VkSemaphore semaphore); + +VkBool32 +vk_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores); + +VkBool32 +vk_signal_fence(VkFence fence); + #endif /* VULKAN_WSI_TIZEN_H */ diff --git a/src/wsi/wsi.h b/src/wsi/wsi.h index 3d67fe7..279a4b3 100644 --- a/src/wsi/wsi.h +++ b/src/wsi/wsi.h @@ -29,6 +29,7 @@ #include #include "vulkan-wsi-tizen.h" #include +#include #include #include