public class EXTFullScreenExclusive
extends java.lang.Object
Applications can choose between explicitly disallowing or allowing this behavior, letting the implementation decide, or managing this mode of operation directly using the new AcquireFullScreenExclusiveModeEXT and ReleaseFullScreenExclusiveModeEXT commands.
VK_EXT_full_screen_exclusiveVK_KHR_get_physical_device_properties2VK_KHR_surfaceVK_KHR_get_surface_capabilities2VK_KHR_swapchainVK_KHR_device_groupVK_KHR_win32_surface| Modifier and Type | Field and Description |
|---|---|
static int |
VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
Extends
VkResult. |
static java.lang.String |
VK_EXT_FULL_SCREEN_EXCLUSIVE_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_FULL_SCREEN_EXCLUSIVE_SPEC_VERSION
The extension specification version.
|
static int |
VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT
VkFullScreenExclusiveEXT - Hint values an application can specify affecting full-screen transition behavior
|
static int |
VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT
VkFullScreenExclusiveEXT - Hint values an application can specify affecting full-screen transition behavior
|
static int |
VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT
VkFullScreenExclusiveEXT - Hint values an application can specify affecting full-screen transition behavior
|
static int |
VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT
VkFullScreenExclusiveEXT - Hint values an application can specify affecting full-screen transition behavior
|
static int |
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
long pSurfaceInfo,
long pModes)
Unsafe version of:
GetDeviceGroupSurfacePresentModes2EXT |
static int |
nvkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pSurfaceInfo,
long pPresentModeCount,
long pPresentModes)
Unsafe version of:
GetPhysicalDeviceSurfacePresentModes2EXT |
static int |
vkAcquireFullScreenExclusiveModeEXT(org.lwjgl.vulkan.VkDevice device,
long swapchain)
Acquire full-screen exclusive mode for a swapchain.
|
static int |
vkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
int[] pModes)
Array version of:
GetDeviceGroupSurfacePresentModes2EXT |
static int |
vkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
java.nio.IntBuffer pModes)
Query device group present capabilities for a surface.
|
static int |
vkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
int[] pPresentModeCount,
int[] pPresentModes)
Array version of:
GetPhysicalDeviceSurfacePresentModes2EXT |
static int |
vkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
java.nio.IntBuffer pPresentModeCount,
java.nio.IntBuffer pPresentModes)
Query supported presentation modes.
|
static int |
vkReleaseFullScreenExclusiveModeEXT(org.lwjgl.vulkan.VkDevice device,
long swapchain)
Release full-screen exclusive mode from a swapchain.
|
public static final int VK_EXT_FULL_SCREEN_EXCLUSIVE_SPEC_VERSION
public static final java.lang.String VK_EXT_FULL_SCREEN_EXCLUSIVE_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT
VkStructureType.
public static final int VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
VkResult.public static final int VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT
VkStructureType.public static final int VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT
FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT indicates the implementation should determine the appropriate full-screen method by whatever means it deems appropriate.FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT indicates the implementation may use full-screen exclusive mechanisms when available. Such mechanisms may result in better performance and/or the availability of different presentation capabilities, but may require a more disruptive transition during swapchain initialization, first presentation and/or destruction.FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT indicates the implementation should avoid using full-screen mechanisms which rely on disruptive transitions.FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT indicates the application will manage full-screen exclusive mode by using the AcquireFullScreenExclusiveModeEXT and ReleaseFullScreenExclusiveModeEXT commands.public static final int VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT
FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT indicates the implementation should determine the appropriate full-screen method by whatever means it deems appropriate.FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT indicates the implementation may use full-screen exclusive mechanisms when available. Such mechanisms may result in better performance and/or the availability of different presentation capabilities, but may require a more disruptive transition during swapchain initialization, first presentation and/or destruction.FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT indicates the implementation should avoid using full-screen mechanisms which rely on disruptive transitions.FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT indicates the application will manage full-screen exclusive mode by using the AcquireFullScreenExclusiveModeEXT and ReleaseFullScreenExclusiveModeEXT commands.public static final int VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT
FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT indicates the implementation should determine the appropriate full-screen method by whatever means it deems appropriate.FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT indicates the implementation may use full-screen exclusive mechanisms when available. Such mechanisms may result in better performance and/or the availability of different presentation capabilities, but may require a more disruptive transition during swapchain initialization, first presentation and/or destruction.FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT indicates the implementation should avoid using full-screen mechanisms which rely on disruptive transitions.FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT indicates the application will manage full-screen exclusive mode by using the AcquireFullScreenExclusiveModeEXT and ReleaseFullScreenExclusiveModeEXT commands.public static final int VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT
FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT indicates the implementation should determine the appropriate full-screen method by whatever means it deems appropriate.FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT indicates the implementation may use full-screen exclusive mechanisms when available. Such mechanisms may result in better performance and/or the availability of different presentation capabilities, but may require a more disruptive transition during swapchain initialization, first presentation and/or destruction.FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT indicates the implementation should avoid using full-screen mechanisms which rely on disruptive transitions.FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT indicates the application will manage full-screen exclusive mode by using the AcquireFullScreenExclusiveModeEXT and ReleaseFullScreenExclusiveModeEXT commands.public static int nvkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pSurfaceInfo,
long pPresentModeCount,
long pPresentModes)
GetPhysicalDeviceSurfacePresentModes2EXTpPresentModeCount - a pointer to an integer related to the number of presentation modes available or queried, as described below.public static int vkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
java.nio.IntBuffer pPresentModeCount,
@Nullable
java.nio.IntBuffer pPresentModes)
Alternatively, to query the supported presentation modes for a surface combined with select other fixed swapchain creation parameters, call:
VkResult vkGetPhysicalDeviceSurfacePresentModes2EXT(
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
uint32_t* pPresentModeCount,
VkPresentModeKHR* pPresentModes);
vkGetPhysicalDeviceSurfacePresentModes2EXT behaves similarly to GetPhysicalDeviceSurfacePresentModesKHR, with the ability to specify extended inputs via chained input structures.
physicalDevice must be a valid VkPhysicalDevice handlepSurfaceInfo must be a valid pointer to a valid VkPhysicalDeviceSurfaceInfo2KHR structurepPresentModeCount must be a valid pointer to a uint32_t valuepPresentModeCount is not 0, and pPresentModes is not NULL, pPresentModes must be a valid pointer to an array of pPresentModeCount VkPresentModeKHR valuesphysicalDevice - the physical device that will be associated with the swapchain to be created, as described for CreateSwapchainKHR.pSurfaceInfo - a pointer to a VkPhysicalDeviceSurfaceInfo2KHR structure describing the surface and other fixed parameters that would be consumed by CreateSwapchainKHR.pPresentModeCount - a pointer to an integer related to the number of presentation modes available or queried, as described below.pPresentModes - either NULL or a pointer to an array of VkPresentModeKHR values, indicating the supported presentation modes.public static int vkAcquireFullScreenExclusiveModeEXT(org.lwjgl.vulkan.VkDevice device,
long swapchain)
To acquire exclusive full-screen access for a swapchain, call:
VkResult vkAcquireFullScreenExclusiveModeEXT(
VkDevice device,
VkSwapchainKHR swapchain);
swapchain must not be in the retired stateswapchain must be a swapchain created with a VkSurfaceFullScreenExclusiveInfoEXT structure, with fullScreenExclusive set to FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXTswapchain must not currently have exclusive full-screen accessA return value of SUCCESS indicates that the swapchain successfully acquired exclusive full-screen access. The swapchain will retain this exclusivity until either the application releases exclusive full-screen access with ReleaseFullScreenExclusiveModeEXT, destroys the swapchain, or if any of the swapchain commands return ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT indicating that the mode was lost because of platform-specific changes.
If the swapchain was unable to acquire exclusive full-screen access to the display then ERROR_INITIALIZATION_FAILED is returned. An application can attempt to acquire exclusive full-screen access again for the same swapchain even if this command fails, or if ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT has been returned by a swapchain command.
device must be a valid VkDevice handleswapchain must be a valid VkSwapchainKHR handledevice, and swapchain must have been created, allocated, or retrieved from the same VkInstancedevice - the device associated with swapchain.swapchain - the swapchain to acquire exclusive full-screen access for.public static int vkReleaseFullScreenExclusiveModeEXT(org.lwjgl.vulkan.VkDevice device,
long swapchain)
To release exclusive full-screen access from a swapchain, call:
VkResult vkReleaseFullScreenExclusiveModeEXT(
VkDevice device,
VkSwapchainKHR swapchain);
Applications will not be able to present to swapchain after this call until exclusive full-screen access is reacquired. This is usually useful to handle when an application is minimised or otherwise intends to stop presenting for a time.
swapchain must not be in the retired stateswapchain must be a swapchain created with a VkSurfaceFullScreenExclusiveInfoEXT structure, with fullScreenExclusive set to FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXTdevice - the device associated with swapchain.swapchain - the swapchain to release exclusive full-screen access from.public static int nvkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
long pSurfaceInfo,
long pModes)
GetDeviceGroupSurfacePresentModes2EXTpublic static int vkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
java.nio.IntBuffer pModes)
Alternatively, to query the supported device group presentation modes for a surface combined with select other fixed swapchain creation parameters, call:
VkResult vkGetDeviceGroupSurfacePresentModes2EXT(
VkDevice device,
const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
VkDeviceGroupPresentModeFlagsKHR* pModes);
vkGetDeviceGroupSurfacePresentModes2EXT behaves similarly to GetDeviceGroupSurfacePresentModesKHR, with the ability to specify extended inputs via chained input structures.
device must be a valid VkDevice handlepSurfaceInfo must be a valid pointer to a valid VkPhysicalDeviceSurfaceInfo2KHR structurepModes must be a valid pointer to a VkDeviceGroupPresentModeFlagsKHR valuedevice - the logical device.pSurfaceInfo - a pointer to a VkPhysicalDeviceSurfaceInfo2KHR structure describing the surface and other fixed parameters that would be consumed by CreateSwapchainKHR.pModes - a pointer to a VkDeviceGroupPresentModeFlagsKHR in which the supported device group present modes for the surface are returned.public static int vkGetPhysicalDeviceSurfacePresentModes2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
int[] pPresentModeCount,
@Nullable
int[] pPresentModes)
GetPhysicalDeviceSurfacePresentModes2EXTpublic static int vkGetDeviceGroupSurfacePresentModes2EXT(org.lwjgl.vulkan.VkDevice device,
VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo,
int[] pModes)
GetDeviceGroupSurfacePresentModes2EXTCopyright LWJGL. All Rights Reserved. License terms.