org.lwjgl.vulkan.EXTQueueFamilyForeign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* This extension defines a special queue family, {@link #VK_QUEUE_FAMILY_FOREIGN_EXT QUEUE_FAMILY_FOREIGN_EXT}, which can be used to transfer ownership of resources backed by external memory to foreign, external queues. This is similar to {@link KHRExternalMemory#VK_QUEUE_FAMILY_EXTERNAL_KHR QUEUE_FAMILY_EXTERNAL_KHR}, defined in {@link KHRExternalMemory VK_KHR_external_memory}. The key differences between the two are:
*
*
* - The queues represented by {@link KHRExternalMemory#VK_QUEUE_FAMILY_EXTERNAL_KHR QUEUE_FAMILY_EXTERNAL_KHR} must share the same physical device and the same driver version as the current {@code VkInstance}. {@link #VK_QUEUE_FAMILY_FOREIGN_EXT QUEUE_FAMILY_FOREIGN_EXT} has no such restrictions. It can represent devices and drivers from other vendors, and can even represent non-Vulkan-capable devices.
* - All resources backed by external memory support {@link KHRExternalMemory#VK_QUEUE_FAMILY_EXTERNAL_KHR QUEUE_FAMILY_EXTERNAL_KHR}. Support for {@link #VK_QUEUE_FAMILY_FOREIGN_EXT QUEUE_FAMILY_FOREIGN_EXT} is more restrictive.
* - Applications should expect transitions to/from {@link #VK_QUEUE_FAMILY_FOREIGN_EXT QUEUE_FAMILY_FOREIGN_EXT} to be more expensive than transitions to/from {@link KHRExternalMemory#VK_QUEUE_FAMILY_EXTERNAL_KHR QUEUE_FAMILY_EXTERNAL_KHR}.
*
*
* VK_EXT_queue_family_foreign
*
*
* - Name String
* - {@code VK_EXT_queue_family_foreign}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 127
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
* - Requires {@link KHRExternalMemory VK_KHR_external_memory}
*
* - Contact
*
* - Chad Versace chadversary
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2017-11-01
* - IP Status
* - No known IP claims.
* - Contributors
*
* - Chad Versace, Google
* - James Jones, NVIDIA
* - Jason Ekstrand, Intel
* - Jesse Hall, Google
* - Daniel Rakos, AMD
* - Ray Smith, ARM
*
*
*/
public final class EXTQueueFamilyForeign {
/** The extension specification version. */
public static final int VK_EXT_QUEUE_FAMILY_FOREIGN_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME = "VK_EXT_queue_family_foreign";
/** VK_QUEUE_FAMILY_FOREIGN_EXT */
public static final int VK_QUEUE_FAMILY_FOREIGN_EXT = (~2);
private EXTQueueFamilyForeign() {}
}