Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_NV_present_barrier - device extension
VK_NV_present_barrier
- Name String
VK_NV_present_barrier
- Extension Type
- Device extension
- Registered Extension Number
- 293
- Revision
- 1
- Extension and Version Dependencies
- Requires support for Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
to be enabled for any device-level functionality - Requires
VK_KHR_surface
to be enabled for any device-level functionality - Requires
VK_KHR_get_surface_capabilities2
to be enabled for any device-level functionality - Requires
VK_KHR_swapchain
to be enabled for any device-level functionality
- Contact
Other Extension Metadata
- Last Modified Date
- 2022-05-16
- Contributors
- Liya Li, Nvidia
- Martin Schwarzer, Nvidia
- Andy Wolf, Nvidia
- Ian Williams, Nvidia
- Ben Morris, Nvidia
- James Jones, Nvidia
- Jeff Juliano, Nvidia
Description
This extension adds support for synchronizing corresponding presentation requests across multiple swapchains using the present barrier.
New Structures
Extending
SurfaceCapabilities2KHR
:Extending
SwapchainCreateInfoKHR
:
New Enum Constants
NV_PRESENT_BARRIER_SPEC_VERSION
Extending
StructureType
:
Issues
1) Is there a query interface to check if a swapchain is using the present barrier?
RESOLVED. There is no such query interface. When creating a swapchain, an application can specify to use the present barrier, and if the swapchain is created successfully, this swapchain will be using the present barrier.
2) Do we need an extra interface to set up the present barrier across distributed systems?
RESOLVED. If the required hardware is presented in the system, and all settings for the physical synchronization with other systems are set up, an implementation manages the configuration automatically when creating a swapchain, without any extra calls from the application.
Version History
Revision 1, 2022-07-20
- Initial version
See Also
PhysicalDevicePresentBarrierFeaturesNV
,
SurfaceCapabilitiesPresentBarrierNV
,
SwapchainPresentBarrierCreateInfoNV
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- data PhysicalDevicePresentBarrierFeaturesNV = PhysicalDevicePresentBarrierFeaturesNV {}
- data SurfaceCapabilitiesPresentBarrierNV = SurfaceCapabilitiesPresentBarrierNV {}
- data SwapchainPresentBarrierCreateInfoNV = SwapchainPresentBarrierCreateInfoNV {}
- type NV_PRESENT_BARRIER_SPEC_VERSION = 1
- pattern NV_PRESENT_BARRIER_SPEC_VERSION :: forall a. Integral a => a
- type NV_PRESENT_BARRIER_EXTENSION_NAME = "VK_NV_present_barrier"
- pattern NV_PRESENT_BARRIER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDevicePresentBarrierFeaturesNV Source #
VkPhysicalDevicePresentBarrierFeaturesNV - Structure indicating support for VK_NV_present_barrier extension
Members
This structure describes the following feature:
Description
If the PhysicalDevicePresentBarrierFeaturesNV
structure is included in
the pNext
chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2
,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDevicePresentBarrierFeaturesNV
can also be used
in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
Instances
data SurfaceCapabilitiesPresentBarrierNV Source #
VkSurfaceCapabilitiesPresentBarrierNV - Structure describing present barrier capabilities of a surface
Description
This structure can be included in the pNext
chain of
SurfaceCapabilities2KHR
to determine support for present barrier access. If
presentBarrierSupported
is FALSE
, it
indicates that the present barrier feature is not obtainable for this
surface.
Valid Usage (Implicit)
See Also
SurfaceCapabilitiesPresentBarrierNV | |
|
Instances
data SwapchainPresentBarrierCreateInfoNV Source #
VkSwapchainPresentBarrierCreateInfoNV - specify the present barrier membership of this swapchain
Description
If the pNext
chain of
SwapchainCreateInfoKHR
does not
include this structure, the default value for presentBarrierEnable
is
FALSE
, meaning the swapchain does not
request to use the present barrier. Additionally, when recreating a
swapchain that was using the present barrier, and the pNext
chain of
SwapchainCreateInfoKHR
does not
include this structure, it means the swapchain will stop using the
present barrier.
Valid Usage (Implicit)
See Also
SwapchainPresentBarrierCreateInfoNV | |
|
Instances
type NV_PRESENT_BARRIER_SPEC_VERSION = 1 Source #
pattern NV_PRESENT_BARRIER_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_PRESENT_BARRIER_EXTENSION_NAME = "VK_NV_present_barrier" Source #
pattern NV_PRESENT_BARRIER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #