Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_EXT_physical_device_drm - device extension
VK_EXT_physical_device_drm
- Name String
VK_EXT_physical_device_drm
- Extension Type
- Device extension
- Registered Extension Number
- 354
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_KHR_get_physical_device_properties2
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-06-09
- IP Status
- No known IP claims.
- Contributors
- Simon Ser
Description
This extension provides new facilities to query DRM properties for physical devices, enabling users to match Vulkan physical devices with DRM nodes on Linux.
Its functionality closely overlaps with
EGL_EXT_device_drm
1^.
Unlike the EGL extension, this extension does not expose a string
containing the name of the device file and instead exposes device minor
numbers.
DRM defines multiple device node types. Each physical device may have one primary node and one render node associated. Physical devices may have no primary node (e.g. if the device does not have a display subsystem), may have no render node (e.g. if it is a software rendering engine), or may have neither (e.g. if it is a software rendering engine without a display subsystem).
To query DRM properties for a physical device, chain
PhysicalDeviceDrmPropertiesEXT
to
PhysicalDeviceProperties2
.
New Structures
New Enum Constants
References
Version History
Revision 1, 2021-06-09
- First stable revision
See Also
PhysicalDeviceDrmPropertiesEXT
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 PhysicalDeviceDrmPropertiesEXT = PhysicalDeviceDrmPropertiesEXT {
- hasPrimary :: Bool
- hasRender :: Bool
- primaryMajor :: Int64
- primaryMinor :: Int64
- renderMajor :: Int64
- renderMinor :: Int64
- type EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION = 1
- pattern EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION :: forall a. Integral a => a
- type EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME = "VK_EXT_physical_device_drm"
- pattern EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceDrmPropertiesEXT Source #
VkPhysicalDeviceDrmPropertiesEXT - Structure containing DRM information of a physical device
Description
If the PhysicalDeviceDrmPropertiesEXT
structure is included in the
pNext
chain of the
PhysicalDeviceProperties2
structure passed to
getPhysicalDeviceProperties2
,
it is filled in with each corresponding implementation-dependent
property.
These are properties of the DRM information of a physical device.
Valid Usage (Implicit)
See Also
PhysicalDeviceDrmPropertiesEXT | |
|
Instances
type EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION = 1 Source #
pattern EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME = "VK_EXT_physical_device_drm" Source #
pattern EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #