vulkan-3.15: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_KHR_surface_protected_capabilities

Description

Name

VK_KHR_surface_protected_capabilities - instance extension

VK_KHR_surface_protected_capabilities

Name String
VK_KHR_surface_protected_capabilities
Extension Type
Instance extension
Registered Extension Number
240
Revision
1
Extension and Version Dependencies
  • Requires Vulkan 1.1
  • Requires VK_KHR_get_surface_capabilities2
Contact

Other Extension Metadata

Last Modified Date
2018-12-18
IP Status
No known IP claims.
Contributors
  • Sandeep Shinde, NVIDIA
  • James Jones, NVIDIA
  • Daniel Koch, NVIDIA

Description

This extension extends SurfaceCapabilities2KHR, providing applications a way to query whether swapchains can be created with the SWAPCHAIN_CREATE_PROTECTED_BIT_KHR flag set.

Vulkan 1.1 added (optional) support for protect memory and protected resources including buffers (BUFFER_CREATE_PROTECTED_BIT), images (IMAGE_CREATE_PROTECTED_BIT), and swapchains (SWAPCHAIN_CREATE_PROTECTED_BIT_KHR). However, on implementations which support multiple windowing systems, not all window systems may be able to provide a protected display path.

This extension provides a way to query if a protected swapchain created for a surface (and thus a specific windowing system) can be displayed on screen. It extends the existing SurfaceCapabilities2KHR structure with a new SurfaceProtectedCapabilitiesKHR structure from which the application can obtain information about support for protected swapchain creation through getPhysicalDeviceSurfaceCapabilities2KHR.

New Structures

New Enum Constants

Version History

  • Revision 1, 2018-12-18 (Sandeep Shinde, Daniel Koch)

    • Internal revisions.

See Also

SurfaceProtectedCapabilitiesKHR

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

Documentation

data SurfaceProtectedCapabilitiesKHR Source #

VkSurfaceProtectedCapabilitiesKHR - Structure describing capability of a surface to be protected

Description

If the VK_GOOGLE_surfaceless_query extension is enabled, the value returned in supportsProtected will be identical for every valid surface created on this physical device, and so in the getPhysicalDeviceSurfaceCapabilities2KHR call, PhysicalDeviceSurfaceInfo2KHR::surface can be NULL_HANDLE. In that case, the contents of SurfaceCapabilities2KHR::surfaceCapabilities as well as any other struct chained to it will be undefined.

Valid Usage (Implicit)

See Also

VK_KHR_surface_protected_capabilities, Bool32, StructureType

Constructors

SurfaceProtectedCapabilitiesKHR 

Fields

Instances

Instances details
Eq SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

Show SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

Storable SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

FromCStruct SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

ToCStruct SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

Zero SurfaceProtectedCapabilitiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_surface_protected_capabilities

type KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME = "VK_KHR_surface_protected_capabilities" Source #