mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-11 13:57:01 +00:00
* Update release number to 92. Public Issues: * Move and modify valid usage statements dealing with pname:aspectMask in flink:vkCmdClearColorImage, flink:vkCmdClearDepthStencilImage, and slink:VkClearAttachment, so they are in places where all necessary information is available (public issue 529). * Fix math markup in <<textures-texel-anisotropic-filtering, Texel Anisotropic Filtering>> (public pull request 840). * Fix misspellings (public pull request 845). Internal Issues: * Add installation instructions and a Makefile "`chunked`" target for chunked HTML generation (internal issue 1352). * Fix pipeline mesh diagram style; also fix a minor bug in the classic pipeline diagram where vertex/index buffers wrongly fed into the vertex shader (internal issue 1436). * Make asciidoctor ERROR output raise an error, and don't suppress executed command output from CI make invocation (internal issue 1454). * Minor typo fixes and clarifications for `VK_NV_raytracing`. * Cleanup extension-specific properties ** Remove duplicated documentation for pname:maxDiscardRectangles, pname:pointClippingBehavior, and pname:maxVertexAttribDivisor (they shouldn't be documented with the other members of slink:VkPhysicalDeviceLimits at all). ** Remove duplicate anchor for pname:maxVertexAttribDivisor ** Consistently document stext:VkPhysicalDevice<Extension>PropertiesKHR *** Always document pname:sType/pname:pNext (was inconsistent before) *** Always mention chaining to slink:VkPhysicalDeviceProperties2 (and not as slink:VkPhysicalDeviceProperties2KHR) *** Always include Valid Usage statements last * Update Makefile 'checklinks' target and associated scripts, and fix markup problems identified by checkLinks.py, so that we can rely on the checklinks script as part of Gitlab CI.
104 lines
3.0 KiB
Plaintext
104 lines
3.0 KiB
Plaintext
// Copyright (c) 2014-2018 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
include::meta/VK_KHR_incremental_present.txt[]
|
|
|
|
*Last Modified Date*::
|
|
2016-11-02
|
|
*IP Status*::
|
|
No known IP claims.
|
|
*Contributors*::
|
|
- Ian Elliott, Google
|
|
- Jesse Hall, Google
|
|
- Alon Or-bach, Samsung
|
|
- James Jones, NVIDIA
|
|
- Daniel Rakos, AMD
|
|
- Ray Smith, ARM
|
|
- Mika Isojarvi, Google
|
|
- Jeff Juliano, NVIDIA
|
|
- Jeff Bolz, NVIDIA
|
|
|
|
This device extension extends flink:vkQueuePresentKHR, from the
|
|
`<<VK_KHR_swapchain>>` extension, allowing an application to specify a list
|
|
of rectangular, modified regions of each image to present.
|
|
This should be used in situations where an application is only changing a
|
|
small portion of the presentable images within a swapchain, since it enables
|
|
the presentation engine to avoid wasting time presenting parts of the
|
|
surface that haven't changed.
|
|
|
|
This extension is leveraged from the +EGL_KHR_swap_buffers_with_damage+
|
|
extension.
|
|
|
|
=== New Object Types
|
|
|
|
None.
|
|
|
|
=== New Enum Constants
|
|
|
|
* Extending elink:VkStructureType:
|
|
** ename:VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR
|
|
|
|
=== New Enums
|
|
|
|
None.
|
|
|
|
=== New Structures
|
|
|
|
* slink:VkRectLayerKHR
|
|
* slink:VkPresentRegionKHR
|
|
* slink:VkPresentRegionsKHR
|
|
|
|
=== New Functions
|
|
|
|
None.
|
|
|
|
=== Examples
|
|
|
|
None.
|
|
|
|
=== Issues
|
|
|
|
1) How should we handle steroescopic-3D swapchains? We need to add a layer
|
|
for each rectangle.
|
|
One approach is to create another struct that contains the slink:VkRect2D
|
|
plus layer, and have slink:VkPresentRegionsKHR point to an array of that
|
|
struct.
|
|
Another approach is to have two parallel arrays, ptext:pRectangles and
|
|
ptext:pLayers, where ptext:pRectangles[i] and ptext:pLayers[i] must be used
|
|
together.
|
|
Which approach should we use, and if the array of a new structure, what
|
|
should that be called?
|
|
|
|
*RESOLVED*: Create a new structure, which is a slink:VkRect2D plus a layer,
|
|
and will be called slink:VkRectLayerKHR.
|
|
|
|
2) Where is the origin of the slink:VkRectLayerKHR?
|
|
|
|
*RESOLVED*: The upper left corner of the presentable image(s) of the
|
|
swapchain, per the definition of framebuffer coordinates.
|
|
|
|
3) Does the rectangular region, slink:VkRectLayerKHR, specify pixels of the
|
|
swapchain's image(s), or of the surface?
|
|
|
|
*RESOLVED*: Of the image(s).
|
|
Some presentation engines may scale the pixels of a swapchain's image(s) to
|
|
the size of the surface.
|
|
The size of the swapchain's image(s) will be consistent, where the size of
|
|
the surface may vary over time.
|
|
|
|
4) What if all of the rectangles for a given swapchain contain a width
|
|
and/or height of zero?
|
|
|
|
*RESOLVED*: The application is indicating that no pixels changed since the
|
|
last present.
|
|
The presentation engine may use such a hint and not update any pixels for
|
|
the swapchain.
|
|
However, all other semantics of flink:vkQueuePresentKHR must still be
|
|
honored, including waiting for semaphores to signal.
|
|
|
|
=== Version History
|
|
|
|
* Revision 1, 2016-11-02 (Ian Elliott)
|
|
- Internal revisions
|