C Specification
Bits which can be set in VkPresentTimingInfoEXT::flags,
specifying options for how to interpret timing information:
// Provided by VK_EXT_present_timing
typedef enum VkPresentTimingInfoFlagBitsEXT {
VK_PRESENT_TIMING_INFO_PRESENT_AT_RELATIVE_TIME_BIT_EXT = 0x00000001,
VK_PRESENT_TIMING_INFO_PRESENT_AT_NEAREST_REFRESH_CYCLE_BIT_EXT = 0x00000002,
} VkPresentTimingInfoFlagBitsEXT;
Description
-
VK_PRESENT_TIMING_INFO_PRESENT_AT_RELATIVE_TIME_BIT_EXTspecifies thatVkPresentTimingInfoEXT::targetTimeis to be interpreted as a relative time from the previous presentation’sVK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_VISIBLE_BIT_EXTstage. If theswapchainhas never been used to present an image, the providedtargetTimeis ignored. -
VK_PRESENT_TIMING_INFO_PRESENT_AT_NEAREST_REFRESH_CYCLE_BIT_EXTspecifies that the application would prefer the image to be presented earlier than the time specified inVkPresentTimingInfoEXT::targetTimeif that time falls within the first half of a refresh cycle. In that case, the presentation engine may choose to display the image at the start of that refresh cycle.
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.