Class EXTPhysicalDeviceDrm

java.lang.Object
org.lwjgl.vulkan.EXTPhysicalDeviceDrm

public final class EXTPhysicalDeviceDrm extends Object
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_drm1. 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 VkPhysicalDeviceDrmPropertiesEXT to VkPhysicalDeviceProperties2.

References
Name String
VK_EXT_physical_device_drm
Extension Type
Device extension
Registered Extension Number
354
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1
Contact
Other Extension Metadata
Last Modified Date
2021-06-09
IP Status
No known IP claims.
Contributors
  • Simon Ser
  • Field Details

    • VK_EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION

      public static final int VK_EXT_PHYSICAL_DEVICE_DRM_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME

      public static final String VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME
      The extension name.
      See Also:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT

      public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT
      Extends VkStructureType.
      See Also: