Emil Velikov <[email protected]> writes: > Is the VK_KEITHP_kms_display spec available somewhere?
Here's a rough version:
VK_KEITHP_kms_display
=====================
**Name String**
VK_KEITHP_kms_display
**Extension Type**
Instance Extension
**Registered Extension Number**
TBD
**Status**
Draft.
**Last Modified Date**
2017-08-02
**Revision**
1
**IP Status**
No known IP claims.
**Dependencies**
This extension is written against version 1.0 of the Vulkan
API.
Requires VK_KHR_display
**Contributors**
Keith Packard, keithp.com
Dave Airlie, Redhat
Pierre-Loup Griffais, Valve
**Contacts**
Keith Packard (keithp 'at' keithp.com)
This extension provides the VkKmsDisplayInfoKEITHP struct that can be
included in the pNext chain at vkCreateInstance time. The new struct
contains a file descriptor that the Vulkan driver uses in place of the
one it would normal open to communicate with the underlying hardware.
The provided file descriptor must support rendering commands. If it
also supports display configuration, then the KHR_display extension
can be used for that.
New Enum Constants
------------------
* Extending VkStructureType:
- VK_STRUCTURE_TYPE_KMS_DISPLAY_INFO_KEITHP
New Structures
--------------
* VkKmsDisplayInfoKEITHP
.. compound::
The VkKmsDisplayInfoKEITHP structure is defined as::
typedef struct VkKmsDisplayInfoKEITHP {
VkStructureType sType;
const void* pNext;
int fd;
} VkKmsDisplayInfoKEITHP;
..
* sType is the type of this structure and must be
VK_STRUCTURE_TYPE_KMS_DISPLAY_INFO_KEITHP
* pNext is NULL or a pointer to another structure in the pCreateInfo
chain passed to vkCreateInstance.
* fd is the file descriptor for the target graphics device.
--
-keith
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
