VkImportScreenBufferInfoQNX
To import memory created outside of the current Vulkan instance from a QNX
Screen buffer, add a VkImportScreenBufferInfoQNX structure to the
pNext chain of the VkMemoryAllocateInfo structure.
The VkImportScreenBufferInfoQNX structure is defined as:
typedef struct VkImportScreenBufferInfoQNX {
VkStructureType sType;
const void* pNext;
struct _screen_buffer* buffer;
} VkImportScreenBufferInfoQNX;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.bufferis a pointer to astruct_screen_buffer, the QNX Screen buffer to import
The implementation may not acquire a reference to the imported Screen
buffer.
Therefore, the application must ensure that the object referred to by
buffer stays valid as long as the device memory to which it is
imported is being used.
Valid Usage
VUID-VkImportScreenBufferInfoQNX-buffer-08966
If buffer is not NULL, QNX Screen Buffers must be supported for
import, as reported by VkExternalImageFormatProperties or
VkExternalBufferProperties
VUID-VkImportScreenBufferInfoQNX-buffer-08967
buffer is not NULL, it must be a pointer to
valid QNX Screen buffer
Valid Usage (Implicit)
VUID-VkImportScreenBufferInfoQNX-sType-sType
sType must be VK_STRUCTURE_TYPE_IMPORT_SCREEN_BUFFER_INFO_QNX