VK_KHR_display and VK_KHR_display_swapchain extensions.
VK_EXT_display_controlVK_EXT_display_surface_counter and VK_KHR_swapchain| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT
VkDeviceEventTypeEXT - Events that can occur on a device object Description
|
| public static final int | VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT
VkDisplayEventTypeEXT - Events that can occur on a display object Description
|
| public static final int | VK_DISPLAY_POWER_STATE_OFF_EXT
VkDisplayPowerStateEXT - Possible power states for a display Description
|
| public static final int | VK_DISPLAY_POWER_STATE_ON_EXT
VkDisplayPowerStateEXT - Possible power states for a display Description
|
| public static final int | VK_DISPLAY_POWER_STATE_SUSPEND_EXT
VkDisplayPowerStateEXT - Possible power states for a display Description
|
| public static final String | VK_EXT_DISPLAY_CONTROL_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_DISPLAY_CONTROL_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkDisplayPowerControlEXT(VkDevice device, long display, long pDisplayPowerInfo)
Unsafe version of: |
| public static int | nvkGetSwapchainCounterEXT(VkDevice device, long swapchain, int counter, long pCounterValue)
Unsafe version of: |
| public static int | nvkRegisterDeviceEventEXT(VkDevice device, long pDeviceEventInfo, long pAllocator, long pFence)
Unsafe version of: |
| public static int | nvkRegisterDisplayEventEXT(VkDevice device, long display, long pDisplayEventInfo, long pAllocator, long pFence)
Unsafe version of: |
| public static int | vkDisplayPowerControlEXT(VkDevice
a logical device associated with device, long display.the display whose power state is modified. display, VkDisplayPowerInfoEXT a pointer to a pDisplayPowerInfo)VkDisplayPowerInfoEXT structure specifying the new power state of display.Set the power state of a display. |
| public static int | vkGetSwapchainCounterEXT(VkDevice
the device, long VkDevice associated with swapchain.the swapchain from which to query the counter value. swapchain, int a counter, LongBuffer VkSurfaceCounterFlagBitsEXT value specifying the counter to query.will return the current value of the counter. pCounterValue)Query the current value of a surface counter. |
| public static int | vkGetSwapchainCounterEXT(VkDevice device, long swapchain, int counter, long[] pCounterValue)
Array version of: |
| public static int | vkRegisterDeviceEventEXT(VkDevice
a logical device on which the event may occur. device, VkDeviceEventInfoEXT a pointer to a pDeviceEventInfo, VkAllocationCallbacks VkDeviceEventInfoEXT structure describing the event of interest to the application.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a handle in which the resulting fence object is returned. pFence)Signal a fence when a device event occurs. |
| public static int | vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks pAllocator, long[] pFence)
Array version of: |
| public static int | vkRegisterDisplayEventEXT(VkDevice
a logical device associated with device, long displaythe display on which the event may occur. display, VkDisplayEventInfoEXT a pointer to a pDisplayEventInfo, VkAllocationCallbacks VkDisplayEventInfoEXT structure describing the event of interest to the application.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a handle in which the resulting fence object is returned. pFence)Signal a fence when a display event occurs. |
| public static int | vkRegisterDisplayEventEXT(VkDevice device, long display, VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks pAllocator, long[] pFence)
Array version of: |
| VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT VkDeviceEventTypeEXT - Events that can occur on a device object Description
See Also | |
| VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT | back to summary |
|---|---|
| public static final int VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT VkDisplayEventTypeEXT - Events that can occur on a display object Description
See Also | |
| VK_DISPLAY_POWER_STATE_OFF_EXT | back to summary |
|---|---|
| public static final int VK_DISPLAY_POWER_STATE_OFF_EXT VkDisplayPowerStateEXT - Possible power states for a display Description
See Also | |
| VK_DISPLAY_POWER_STATE_ON_EXT | back to summary |
|---|---|
| public static final int VK_DISPLAY_POWER_STATE_ON_EXT VkDisplayPowerStateEXT - Possible power states for a display Description
See Also | |
| VK_DISPLAY_POWER_STATE_SUSPEND_EXT | back to summary |
|---|---|
| public static final int VK_DISPLAY_POWER_STATE_SUSPEND_EXT VkDisplayPowerStateEXT - Possible power states for a display Description
See Also | |
| VK_EXT_DISPLAY_CONTROL_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_DISPLAY_CONTROL_EXTENSION_NAME The extension name. | |
| VK_EXT_DISPLAY_CONTROL_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_DISPLAY_CONTROL_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT Extends Enum values: | |
| EXTDisplayControl | back to summary |
|---|---|
| protected EXTDisplayControl() | |
| nvkDisplayPowerControlEXT | back to summary |
|---|---|
| public static int nvkDisplayPowerControlEXT(VkDevice device, long display, long pDisplayPowerInfo) Unsafe version of: | |
| nvkGetSwapchainCounterEXT | back to summary |
|---|---|
| public static int nvkGetSwapchainCounterEXT(VkDevice device, long swapchain, int counter, long pCounterValue) Unsafe version of: | |
| nvkRegisterDeviceEventEXT | back to summary |
|---|---|
| public static int nvkRegisterDeviceEventEXT(VkDevice device, long pDeviceEventInfo, long pAllocator, long pFence) Unsafe version of: | |
| nvkRegisterDisplayEventEXT | back to summary |
|---|---|
| public static int nvkRegisterDisplayEventEXT(VkDevice device, long display, long pDisplayEventInfo, long pAllocator, long pFence) Unsafe version of: | |
| vkDisplayPowerControlEXT | back to summary |
|---|---|
| public static int vkDisplayPowerControlEXT(VkDevice device, long display, VkDisplayPowerInfoEXT pDisplayPowerInfo) Set the power state of a display. C SpecificationTo set the power state of a display, call:
Valid Usage (Implicit)
Return Codes
See Also
| |
| vkGetSwapchainCounterEXT | back to summary |
|---|---|
| public static int vkGetSwapchainCounterEXT(VkDevice device, long swapchain, int counter, LongBuffer pCounterValue) Query the current value of a surface counter. C SpecificationThe requested counters become active when the first presentation command for the associated swapchain is processed by the presentation engine. To query the value of an active counter, use:
DescriptionIf a counter is not available because the swapchain is out of date, the implementation may return Valid Usage
Valid Usage (Implicit)
Return Codes
| |
| vkGetSwapchainCounterEXT | back to summary |
|---|---|
| public static int vkGetSwapchainCounterEXT(VkDevice device, long swapchain, int counter, long[] pCounterValue) Array version of:
| |
| vkRegisterDeviceEventEXT | back to summary |
|---|---|
| public static int vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks pAllocator, LongBuffer pFence) Signal a fence when a device event occurs. C SpecificationTo create a fence that will be signaled when an event occurs on a device, call:
Valid Usage (Implicit)
Return Codes
See Also
| |
| vkRegisterDeviceEventEXT | back to summary |
|---|---|
| public static int vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks pAllocator, long[] pFence) Array version of:
| |
| vkRegisterDisplayEventEXT | back to summary |
|---|---|
| public static int vkRegisterDisplayEventEXT(VkDevice device, long display, VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks pAllocator, LongBuffer pFence) Signal a fence when a display event occurs. C SpecificationTo create a fence that will be signaled when an event occurs on a
Valid Usage (Implicit)
Return Codes
See Also
| |
| vkRegisterDisplayEventEXT | back to summary |
|---|---|
| public static int vkRegisterDisplayEventEXT(VkDevice device, long display, VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks pAllocator, long[] pFence) Array version of:
| |