From 59782cb21c7c60426caa98e3ed499c9333bba352 Mon Sep 17 00:00:00 2001 From: Taekyun Kim Date: Thu, 12 May 2016 18:17:44 +0900 Subject: [PATCH] wsi: Add function prototypes that vendors should provide Change-Id: Ie19a4dd9924cf9273f58f490d56f2d71b11aaeae --- src/wsi/vulkan-wsi-tizen.h | 12 ++++++++++-- src/wsi/wsi.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) 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 -- 2.7.4