VK_KHR_swapchain extension to wait for present operations to complete. An application can use this to monitor and control the pacing of the application by managing the number of outstanding images yet to be presented.
VK_KHR_present_waitVK_KHR_swapchain and VK_KHR_present_id| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_PRESENT_WAIT_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_PRESENT_WAIT_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | vkWaitForPresentKHR(VkDevice
the device associated with device, long swapchain.the non-retired swapchain on which an image was queued for presentation. swapchain, long the presentation presentId to wait for. presentId, long the timeout period in units of nanoseconds. timeout)timeout is adjusted to the closest value allowed by the implementation-dependent timeout accuracy, which may be substantially longer than one nanosecond, and may be longer than the requested period.Wait for presentation. |
| VK_KHR_PRESENT_WAIT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_PRESENT_WAIT_EXTENSION_NAME The extension name. | |
| VK_KHR_PRESENT_WAIT_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_PRESENT_WAIT_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR Extends | |
| KHRPresentWait | back to summary |
|---|---|
| protected KHRPresentWait() | |
| vkWaitForPresentKHR | back to summary |
|---|---|
| public static int vkWaitForPresentKHR(VkDevice device, long swapchain, long presentId, long timeout) Wait for presentation. C SpecificationWhen the
Description
For When the presentation has completed, the presentId associated with the related There is no requirement for any precise timing relationship between the presentation of the image to the user and the update of the presentId value, but implementations should make this as close as possible to the presentation of the first pixel in the next image being presented to the user. The call to As an exception to the normal rules for objects which are externally synchronized, the Valid Usage
Valid Usage (Implicit)
Host Synchronization
Return Codes
| |