mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-18 18:31:46 +00:00
5abf83f95d
* Update release number to 107. Public Issues: * Fix revision date for the `<<VK_AMD_gpu_shader_half_float>>` appendix (public issue 617). * Make <<synchronization-pipeline-barriers-subpass-self-dependencies, subpass self-dependencies>> less restrictive (public issue 777). * Fix the `<<VK_EXT_full_screen_exclusive>>` dependency on `<<VK_KHR_win32_surface>>` in `vk.xml` (public pull request 849). * Remove single-page (`apispec.html`) refpage sub-targets from the Makefile `allman` target and the build instructions. The target is still present in the Makefile, but we have not been actively maintaining the single-page document and do not promise it will work. The full Specification and the individual API reference pages are what we support and publish at present (public issue 949). Internal Issues: * De-duplicate common valid usage statements shared by multiple commands or structures by using asciidoctor includes and dynamically assigning part of the valid usage ID based on which command or structure they're being applied to (internal issue 779). * Add reference pages for constructs not part of the formal API, such as platform calling convention macros, and script changes supporting them This required suppressing some check_spec_links warning classes in order to pass CI, until a more sophisticated fix can be done (internal issue 888). * Change math notation for the elink:VkPrimitiveTopology descriptions to use short forms `v` and `p` instead of `vertex` and `primitive`, increasing legibility (internal issue 1611). * Rewrite generated file includes relative to a globally specified path, fixing some issues with refpage generation (internal issue 1630). * Update contributor list for `<<VK_EXT_calibrated_timestamps>>`. * Fix use of pathlin in `scripts/generator.py` so the script will work on Windows under Python 3.5 (internal merge request 3107). * Add missing conditionals around the <<descriptorsets-accelerationstructure, Acceleration Structure>> section (internal merge request 3108). * More script synchronization with OpenXR spec repository (internal merge request 3109). * Mark the `<<VK_AMD_gpu_shader_half_float>>` and `<<VK_AMD_gpu_shader_int16>>` extensions as deprecated in `vk.xml` and the corresponding extension appendices (internal merge request 3112). New Extensions: * `<<VK_EXT_headless_surface>>`
68 lines
2.9 KiB
Plaintext
68 lines
2.9 KiB
Plaintext
|
|
[open,refpage='VkPresentTimesInfoGOOGLE',desc='The earliest time each image should be presented',type='structs']
|
|
--
|
|
|
|
When the `<<VK_GOOGLE_display_timing>>` extension is enabled, additional
|
|
fields can: be specified that allow an application to specify the earliest
|
|
time that an image should be displayed.
|
|
This allows an application to avoid stutter that is caused by an image being
|
|
displayed earlier than planned.
|
|
Such stuttering can occur with both fixed and variable-refresh-rate
|
|
displays, because stuttering occurs when the geometry is not correctly
|
|
positioned for when the image is displayed.
|
|
An application can: instruct the presentation engine that an image should
|
|
not be displayed earlier than a specified time by including the
|
|
sname:VkPresentTimesInfoGOOGLE structure in the pname:pNext chain of the
|
|
sname:VkPresentInfoKHR structure.
|
|
|
|
The sname:VkPresentTimesInfoGOOGLE structure is defined as:
|
|
|
|
include::{generated}/api/structs/VkPresentTimesInfoGOOGLE.txt[]
|
|
|
|
* pname:sType is the type of this structure.
|
|
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
|
|
* pname:swapchainCount is the number of swapchains being presented to by
|
|
this command.
|
|
* pname:pTimes is `NULL` or a pointer to an array of
|
|
sname:VkPresentTimeGOOGLE elements with pname:swapchainCount entries.
|
|
If not `NULL`, each element of pname:pTimes contains the earliest time
|
|
to present the image corresponding to the entry in the
|
|
sname:VkPresentInfoKHR::pname:pImageIndices array.
|
|
|
|
.Valid Usage
|
|
****
|
|
* [[VUID-VkPresentTimesInfoGOOGLE-swapchainCount-01247]]
|
|
pname:swapchainCount must: be the same value as
|
|
sname:VkPresentInfoKHR::pname:swapchainCount, where
|
|
sname:VkPresentInfoKHR is in the pname:pNext chain of this
|
|
sname:VkPresentTimesInfoGOOGLE structure.
|
|
****
|
|
|
|
include::{generated}/validity/structs/VkPresentTimesInfoGOOGLE.txt[]
|
|
--
|
|
|
|
[open,refpage='VkPresentTimeGOOGLE',desc='The earliest time image should be presented',type='structs']
|
|
--
|
|
|
|
The sname:VkPresentTimeGOOGLE structure is defined as:
|
|
|
|
include::{generated}/api/structs/VkPresentTimeGOOGLE.txt[]
|
|
|
|
* pname:presentID is an application-provided identification value, that
|
|
can: be used with the results of
|
|
flink:vkGetPastPresentationTimingGOOGLE, in order to uniquely identify
|
|
this present.
|
|
In order to be useful to the application, it should: be unique within
|
|
some period of time that is meaningful to the application.
|
|
* pname:desiredPresentTime specifies that the image given should: not be
|
|
displayed to the user any earlier than this time.
|
|
pname:desiredPresentTime is a time in nanoseconds, relative to a
|
|
monotonically-increasing clock (e.g. `CLOCK_MONOTONIC` (see
|
|
clock_gettime(2)) on Android and Linux).
|
|
A value of zero specifies that the presentation engine may: display the
|
|
image at any time.
|
|
This is useful when the application desires to provide pname:presentID,
|
|
but does not need a specific pname:desiredPresentTime.
|
|
|
|
--
|