mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-01-04 17:50:18 +01:00
In this change, the support for present stage local time doimain is enabled. The Vulkan entry-points vkGetCalibratedTimestampsEXT and vkGetCalibratedTimestampsKHR are introduced. These entry-points are intercepted for the structure VkSwapchainCalibratedTimestampInfoEXT to calibrate any stage local time domains. Internally, the stage local time domains are mapped to VK time domains with an offset. On intercepting the APIs when the structure VkSwapchainCalibratedTimestampInfoEXT is available, timestamps are internally queried based on VK time domain from the driver and are then converted to the corresponding stage local timestamps using the internally maintained offset for the time domain. Signed-off-by: Ginu Jacob <ginu.jacob@arm.com> Change-Id: I635e1bc27dd40540cc5e016ab5f784f9d8ebd333 |
||
|---|---|---|
| .. | ||
| calibrated_timestamps_api.cpp | ||
| calibrated_timestamps_api.hpp | ||
| layer.cpp | ||
| present_timing_api.cpp | ||
| private_data.cpp | ||
| private_data.hpp | ||
| surface_api.cpp | ||
| surface_api.hpp | ||
| swapchain_api.cpp | ||
| swapchain_api.hpp | ||
| swapchain_maintenance_api.cpp | ||
| swapchain_maintenance_api.hpp | ||
| VkLayer_window_system_integration.json | ||
| wsi_layer_experimental.hpp | ||