mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-19 09:47:19 +00:00
* Bump API patch number and header version number to 67 for this update. * Update copyright dates to 2018 Github Issues: * Fix texture lookup functions in `GL_KHR_vulkan_glsl` specification (public pull request 363). * Clarify the state waited semaphores are left in when a call to flink:vkQueuePresentKHR fails (public issue 572). * Cleanup descriptions of slink:VkObjectTablePushConstantEntryNVX and slink:VkObjectTableDescriptorSetEntryNVX (public issue 583) * Remove redundant flink:vkCmdSetDiscardRectangleEXT valid usage statements (public pull 586). * Make dynamic state array length valid usage statements implicit for flink:vkCmdSetViewportWScalingNV, flink:vkCmdSetDiscardRectangleEXT, and flink:vkCmdSetViewport (public pull 589). * Clarify meaning of window extent (0,0) in slink:VkSwapchainKHR for the Windows and X11 platforms, in their respective extensions (public issue 590). * Allow flink:vkGetPastPresentationTimingGOOGLE to return ename:VK_INCOMPLETE (public issue 604). * Add synchronization valid usage statements to flink:vkAcquireNextImage (public pull 611). * Fix some broken external links and internal xrefs (public pull 613). * Clean up slink:VkViewport valid usage statements in the presence or absence of relevant extensions (public pull 623). * Remove ename:VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR token from VK_KHR_maintenance2 from the non-extension VU path for slink:VkGraphicsPipelineCreateInfo (public issue 628). * Miscellaneous minor markup fixes - extension name strings (public pull 631), Notes (pull 633), queue names emitted by generator scripts (pull 634), block formatting in slink:VkDescriptorUpdateTemplateEntryKHR (pull 635), ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG (pull 641), quotes and apostrophes (pull 643), * Miscellaneous minor grammar fixes (public pull 644). * Fix markup macros so usage like ptext:*Src* works (public pull 647). Internal Issues: * Clarify in the `VK_KHR_surface` and `VK_KHR_swapchain` extensions that parameter combinations which aren't supported for normal images are also unsupported for presentable images, even if the parameter values are individually supported as reported by the surface capability queries (internal issue 1029). * Fixed XML typo in the valid value field of the pname:sType member of slink:VkPhysicalDeviceExternalMemoryHostPropertiesEXT (internal issue 1100). Other Issues: * Add memory semantics validity rules to the <<spirvenv-module-validation, Validation Rules within a Module>> section of the SPIR-V environment appendix, and specify that sequentiality consistency is not supported. This forbids certain cases like "`Load+Release`" that we don't expect to ever be meaningful. * Document mapping of OpenGL Shading Language barriers to SPIR-V scope and semantics in the `GL_KHR_vulkan_glsl` specification. New Extensions: * `VK_EXT_conservative_rasterization`
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
include::meta/VK_EXT_display_control.txt[]
|
|
|
|
*Last Modified Date*::
|
|
2016-12-13
|
|
*IP Status*::
|
|
No known IP claims.
|
|
*Contributors*::
|
|
- Pierre Boudier, NVIDIA
|
|
- James Jones, NVIDIA
|
|
- Damien Leone, NVIDIA
|
|
- Pierre-Loup Griffais, Valve
|
|
- Daniel Vetter, Intel
|
|
|
|
This extension defines a set of utility functions for use with the
|
|
`<<VK_KHR_display>>` and `<<VK_KHR_display_swapchain>>` extensions.
|
|
|
|
=== New Enum Constants
|
|
|
|
* Extending elink:VkStructureType:
|
|
** ename:VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT
|
|
** ename:VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT
|
|
** ename:VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT
|
|
** ename:VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT
|
|
|
|
=== New Enums
|
|
|
|
* elink:VkDisplayPowerStateEXT
|
|
* elink:VkDeviceEventTypeEXT
|
|
* elink:VkDisplayEventTypeEXT
|
|
|
|
=== New Structures
|
|
|
|
* slink:VkDisplayPowerInfoEXT
|
|
* slink:VkDeviceEventInfoEXT
|
|
* slink:VkDisplayEventInfoEXT
|
|
* slink:VkSwapchainCounterCreateInfoEXT
|
|
|
|
=== New Functions
|
|
|
|
* flink:vkDisplayPowerControlEXT
|
|
* flink:vkRegisterDeviceEventEXT
|
|
* flink:vkRegisterDisplayEventEXT
|
|
* flink:vkGetSwapchainCounterEXT
|
|
|
|
=== Issues
|
|
|
|
1) Should this extension add an explicit "`WaitForVsync`" API or a fence
|
|
signaled at vsync that the application can wait on?
|
|
|
|
*RESOLVED*: A fence.
|
|
A separate API could later be provided that allows exporting the fence to a
|
|
native object that could be inserted into standard run loops on POSIX and
|
|
Windows systems.
|
|
|
|
2) Should callbacks be added for a vsync event, or in general to monitor
|
|
events in Vulkan?
|
|
|
|
*RESOLVED*: No, fences should be used.
|
|
Some events are generated by interrupts which are managed in the kernel.
|
|
In order to use a callback provided by the application, drivers would need
|
|
to have the userspace driver spawn threads that would wait on the kernel
|
|
event, and hence the callbacks could be difficult for the application to
|
|
synchronize with its other work given they would arrive on a foreign thread.
|
|
|
|
3) Should vblank or scanline events be exposed?
|
|
|
|
*RESOLVED*: Vblank events.
|
|
Scanline events could be added by a separate extension, but the latency of
|
|
processing an interrupt and waking up a userspace event is high enough that
|
|
the accuracy of a scanline event would be rather low.
|
|
Further, per-scanline interrupts are not supported by all hardware.
|
|
|
|
=== Version History
|
|
|
|
* Revision 1, 2016-12-13 (James Jones)
|
|
- Initial draft
|