Function Prototype

vkGetRefreshCycleDurationGOOGLE

Obtain the RC duration of the PE's display

To query the duration of a refresh cycle (RC) for the presentation engine’s display, call:

VkResult vkGetRefreshCycleDurationGOOGLE(
    VkDevice device,
    VkSwapchainKHR swapchain,
    VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties);
  • device is the device associated with swapchain.
  • swapchain is the swapchain to obtain the refresh duration for.
  • pDisplayTimingProperties is a pointer to a VkRefreshCycleDurationGOOGLE structure.

Valid Usage (Implicit)

VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parent

swapchain must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to swapchain must be externally synchronized ::