HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_QNX_screen_surface

Name

VK_QNX_screen_surface - instance extension

VK_QNX_screen_surface

Name String

VK_QNX_screen_surface

Extension Type

Instance extension

Registered Extension Number

379

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_surface

Contact

Other Extension Metadata

Last Modified Date

2021-01-11

IP Status

No known IP claims.

Contributors
  • Mike Gorchak, BlackBerry Limited

Description

The VK_QNX_screen_surface extension is an instance extension. It provides a mechanism to create a SurfaceKHR object (defined by the VK_KHR_surface extension) that refers to a QNX Screen window, as well as a query to determine support for rendering to a QNX Screen compositor.

New Commands

New Structures

New Bitmasks

New Enum Constants

Version History

  • Revision 1, 2021-01-11 (Mike Gorchak)

    • Initial draft.

See Also

No cross-references are available

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.

  • 7 types
  • 2 values
  • Packagevulkan-3.27
  • Exports11
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_QNX_screen_surface.hs
valuecreateScreenSurfaceQNX
  1. :: MonadIO io
  2. => Instance

    instance is the instance to associate the surface with.

  3. -> ScreenSurfaceCreateInfoQNX

    pCreateInfo is a pointer to a ScreenSurfaceCreateInfoQNX structure containing parameters affecting the creation of the surface object.

  4. -> "allocator" ::: Maybe AllocationCallbacks

    pAllocator is the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).

  5. -> io SurfaceKHR
#

vkCreateScreenSurfaceQNX - Create a SurfaceKHR object for a QNX Screen window

Valid Usage (Implicit)

  • instance must be a valid Instance handle

Return Codes

Success
Failure

See Also

VK_QNX_screen_surface, AllocationCallbacks, Instance, ScreenSurfaceCreateInfoQNX, SurfaceKHR

valuegetPhysicalDeviceScreenPresentationSupportQNX
  1. :: MonadIO io
  2. => PhysicalDevice

    physicalDevice is the physical device.

    physicalDevice must be a valid PhysicalDevice handle

  3. -> "queueFamilyIndex" ::: Word32

    queueFamilyIndex is the queue family index.

    queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by getPhysicalDeviceQueueFamilyProperties for the given physicalDevice

  4. -> Ptr Screen_window

    window is the QNX Screen window object.

    window must be a valid pointer to a Screen_window value

  5. -> io Bool
#

vkGetPhysicalDeviceScreenPresentationSupportQNX - Query physical device for presentation to QNX Screen

Description

This platform-specific function can be called prior to creating a surface.

Valid Usage (Implicit)

See Also

VK_QNX_screen_surface, PhysicalDevice

VkScreenSurfaceCreateInfoQNX - Structure specifying parameters of a newly created QNX Screen surface object

Valid Usage (Implicit)

See Also

VK_QNX_screen_surface, ScreenSurfaceCreateFlagsQNX, StructureType, createScreenSurfaceQNX

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype ScreenSurfaceCreateFlagsQNX
#

VkScreenSurfaceCreateFlagsQNX - Reserved for future use

Description

ScreenSurfaceCreateFlagsQNX is a bitmask type for setting a mask, but is currently reserved for future use.

See Also

VK_QNX_screen_surface, Flags, ScreenSurfaceCreateInfoQNX

Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …
newtypenewtype SurfaceKHR
#
Instances7Eq, Ord, Show, Storable, HasObjectType, IsHandle, …