diff options
author | Jason Ekstrand <[email protected]> | 2018-06-16 10:44:11 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-20 08:16:03 -0700 |
commit | b1a013d035230957bdd619a1049424b35e69d6eb (patch) | |
tree | ac5c830927fe48a4d30c2dbf4c8191c7a0212ed2 /src/intel/vulkan/anv_cmd_buffer.c | |
parent | 8f3b58ebee413fc704fb2fa0fab06dbfe146b08a (diff) |
Vulkan/wsi: Implement VK_EXT_display_surface_counter
This extension is required to support EXT_display_control as it offers a
way to query whether the vblank counter is supported. Internally, it is
implemented using a fake MESA extension which provides a chain-in to
GetSurfaceCapabilities2KHR which contains the one added field. This has
the advantage of reducing number of callbacks needed in the back-ends.
It also means that anything chained into GetSurfaceCapabilities2EXT
through VkSurfaceCapabilities2KHR::pNext so we only need to handle
crawling the pNext chain once per back-end.
Reviewed-by: Keith Packard <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions