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);
pub fn get_refresh_cycle_duration_google(
device: vk::Device,
swapchain: vk::SwapchainKHR,
p_display_timing_properties: *mut vk::RefreshCycleDurationGOOGLE,
) -> vk::Result;
deviceis the device associated withswapchain.swapchainis the swapchain to obtain the refresh duration for.pDisplayTimingPropertiesis a pointer to aVkRefreshCycleDurationGOOGLEstructure.
Valid Usage (Implicit)
VUID-vkGetRefreshCycleDurationGOOGLE-device-parameter
device must be a valid VkDevice handle
VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parameter
swapchain must be a valid VkSwapchainKHR handle
VUID-vkGetRefreshCycleDurationGOOGLE-pDisplayTimingProperties-parameter
pDisplayTimingProperties must be a valid pointer to a VkRefreshCycleDurationGOOGLE structure
VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parent
swapchain must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
swapchainmust be externally synchronized
Parent
VK_GOOGLE_display_timingType
Function Prototype