vkQueueSignalReleaseImageOHOS(3)
Name
vkQueueSignalReleaseImageOHOS - Inform the system hardware buffer that the image is released for further use
C Specification
To obtain the ownership of a swapchain image, call:
// Provided by VK_OHOS_native_buffer
VkResult vkQueueSignalReleaseImageOHOS(
VkQueue queue,
uint32_t waitSemaphoreCount,
const VkSemaphore* pWaitSemaphores,
VkImage image,
int32_t* pNativeFenceFd);
Parameters
-
queueis a handle ofVkQueue. -
waitSemaphoreCountis the number of semaphores to wait on. -
pWaitSemaphoresis a pointer to an array of VkSemaphore handles upon which to wait before signaling the native fence. -
imagesis a handle of the VkImage to be released. -
pNativeFenceFdis a pointer to either a negative value or the file descriptor of a native fence. A negative value indicates that the processing workflow has been completed, and the calling party is not required to perform additional waiting before subsequent processes. Otherwise, a native fence will be created and be signaled when the image is ready for realse.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.