Skip to content

Commit 1c2738b

Browse files
committed
Add interaction with VK_PRESENT_MODE_FIFO_LATEST_READY_EXT
1 parent 71506d0 commit 1c2738b

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

chapters/VK_EXT_present_timing/queries.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ a multiple of the presentation engine's refresh rate; 2) correctly position
2626
its geometry for when the presentable image will be displayed to the user.
2727
The
2828
ifdef::VK_EXT_present_timing[]
29-
`VK_EXT_present_timing`
29+
`apiext:VK_EXT_present_timing`
3030
endif::VK_EXT_present_timing[]
3131
ifdef::VK_EXT_present_timing+VK_GOOGLE_display_timing[or]
3232
ifdef::VK_GOOGLE_display_timing[]
33-
`VK_GOOGLE_display_timing`
33+
`apiext:VK_GOOGLE_display_timing`
3434
endif::VK_GOOGLE_display_timing[]
3535
extension allows an application to satisfy these needs.
3636

chapters/VK_KHR_surface/wsi.adoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,13 +1624,22 @@ ifdef::VK_EXT_present_mode_fifo_latest_ready[]
16241624
At each vertical blanking period, the presentation engine dequeues all
16251625
successive requests that are ready to be presented from the beginning of
16261626
the queue.
1627+
ifdef::VK_EXT_present_timing,VK_GOOGLE_display_timing[]
1628+
If using
16271629
ifdef::VK_GOOGLE_display_timing[]
1628-
If using `apiext:VK_GOOGLE_display_timing` to provide a target present
1630+
the `apiext:VK_GOOGLE_display_timing` extension
1631+
endif::VK_GOOGLE_display_timing[]
1632+
ifdef::VK_EXT_present_timing+VK_GOOGLE_display_timing[or]
1633+
ifdef::VK_EXT_present_timing[]
1634+
the <<features-presentAtAbsoluteTime, pname:presentAtAbsoluteTime>>
1635+
feature
1636+
endif::VK_EXT_present_timing[]
1637+
to provide a target present
16291638
time, the presentation engine checks the specified time for each
16301639
image.
16311640
If the target present time is less-than or equal-to the current time,
16321641
the presentation engine dequeues the image and checks the next one.
1633-
endif::VK_GOOGLE_display_timing[]
1642+
endif::VK_EXT_present_timing,VK_GOOGLE_display_timing[]
16341643
The image of the last dequeued request is presented.
16351644
The other dequeued requests are dropped.
16361645
endif::VK_EXT_present_mode_fifo_latest_ready[]

xml/vk.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20634,6 +20634,9 @@ typedef void* <name>MTLSharedEvent_id</name>;
2063420634
<command name="vkGetSwapchainTimingPropertiesEXT"/>
2063520635
<command name="vkGetSwapchainTimeDomainPropertiesEXT"/>
2063620636
<command name="vkGetPastPresentationTimingEXT"/>
20637+
<feature name="presentTiming" struct="VkPhysicalDevicePresentTimingFeaturesEXT"/>
20638+
<feature name="presentAtAbsoluteTime" struct="VkPhysicalDevicePresentTimingFeaturesEXT"/>
20639+
<feature name="presentAtRelativeTime" struct="VkPhysicalDevicePresentTimingFeaturesEXT"/>
2063720640
</require>
2063820641
</extension>
2063920642
<extension name="VK_INTEL_shader_integer_functions2" number="210" type="device" depends="VK_KHR_get_physical_device_properties2,VK_VERSION_1_1" author="INTEL" contact="Ian Romanick @ianromanick" supported="vulkan">

0 commit comments

Comments
 (0)