Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
QNX_SCREEN_SURFACE_SPEC_VERSION
Extending
StructureType
:
Version History
Revision 1, 2021-01-11 (Mike Gorchak)
- Initial draft.
See Also
ScreenSurfaceCreateFlagsQNX
, ScreenSurfaceCreateInfoQNX
,
createScreenSurfaceQNX
,
getPhysicalDeviceScreenPresentationSupportQNX
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
- createScreenSurfaceQNX :: forall io. MonadIO io => Instance -> ScreenSurfaceCreateInfoQNX -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- getPhysicalDeviceScreenPresentationSupportQNX :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> Ptr Screen_window -> io Bool
- data ScreenSurfaceCreateInfoQNX = ScreenSurfaceCreateInfoQNX {}
- newtype ScreenSurfaceCreateFlagsQNX = ScreenSurfaceCreateFlagsQNX Flags
- type QNX_SCREEN_SURFACE_SPEC_VERSION = 1
- pattern QNX_SCREEN_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type QNX_SCREEN_SURFACE_EXTENSION_NAME = "VK_QNX_screen_surface"
- pattern QNX_SCREEN_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- data Screen_window
- data Screen_context
- newtype SurfaceKHR = SurfaceKHR Word64
Documentation
createScreenSurfaceQNX Source #
:: forall io. MonadIO io | |
=> Instance |
|
-> ScreenSurfaceCreateInfoQNX |
|
-> ("allocator" ::: Maybe AllocationCallbacks) |
|
-> io SurfaceKHR |
vkCreateScreenSurfaceQNX - Create a
SurfaceKHR
object for a QNX Screen window
Valid Usage (Implicit)
-
instance
must be a validInstance
handle
-
pCreateInfo
must be a valid pointer to a validScreenSurfaceCreateInfoQNX
structure - If
pAllocator
is notNULL
,pAllocator
must be a valid pointer to a validAllocationCallbacks
structure -
pSurface
must be a valid pointer to aSurfaceKHR
handle
Return Codes
See Also
VK_QNX_screen_surface,
AllocationCallbacks
,
Instance
, ScreenSurfaceCreateInfoQNX
,
SurfaceKHR
getPhysicalDeviceScreenPresentationSupportQNX Source #
:: forall io. MonadIO io | |
=> PhysicalDevice |
|
-> ("queueFamilyIndex" ::: Word32) |
|
-> Ptr Screen_window |
|
-> 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
data ScreenSurfaceCreateInfoQNX Source #
VkScreenSurfaceCreateInfoQNX - Structure specifying parameters of a newly created QNX Screen surface object
Valid Usage (Implicit)
See Also
VK_QNX_screen_surface,
ScreenSurfaceCreateFlagsQNX
,
StructureType
,
createScreenSurfaceQNX
Instances
newtype ScreenSurfaceCreateFlagsQNX Source #
VkScreenSurfaceCreateFlagsQNX - Reserved for future use
Description
ScreenSurfaceCreateFlagsQNX
is a bitmask type for setting a mask, but
is currently reserved for future use.
See Also
Instances
type QNX_SCREEN_SURFACE_SPEC_VERSION = 1 Source #
pattern QNX_SCREEN_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type QNX_SCREEN_SURFACE_EXTENSION_NAME = "VK_QNX_screen_surface" Source #
pattern QNX_SCREEN_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
data Screen_window Source #
data Screen_context Source #
newtype SurfaceKHR Source #
VkSurfaceKHR - Opaque handle to a surface object
Description
The VK_KHR_surface
extension declares the SurfaceKHR
object, and
provides a function for destroying SurfaceKHR
objects. Separate
platform-specific extensions each provide a function for creating a
SurfaceKHR
object for the respective platform. From the application’s
perspective this is an opaque handle, just like the handles of other
Vulkan objects.
See Also
VK_KHR_surface,
PhysicalDeviceSurfaceInfo2KHR
,
SwapchainCreateInfoKHR
,
createAndroidSurfaceKHR
,
createDirectFBSurfaceEXT
,
createDisplayPlaneSurfaceKHR
,
createHeadlessSurfaceEXT
,
createIOSSurfaceMVK
,
createImagePipeSurfaceFUCHSIA
,
createMacOSSurfaceMVK
,
createMetalSurfaceEXT
,
createScreenSurfaceQNX
,
createStreamDescriptorSurfaceGGP
,
createViSurfaceNN
,
createWaylandSurfaceKHR
,
createWin32SurfaceKHR
,
createXcbSurfaceKHR
,
createXlibSurfaceKHR
,
destroySurfaceKHR
,
getDeviceGroupSurfacePresentModesKHR
,
getPhysicalDevicePresentRectanglesKHR
,
getPhysicalDeviceSurfaceCapabilities2EXT
,
getPhysicalDeviceSurfaceCapabilitiesKHR
,
getPhysicalDeviceSurfaceFormatsKHR
,
getPhysicalDeviceSurfacePresentModesKHR
,
getPhysicalDeviceSurfaceSupportKHR