Class EXTDisplaySurfaceCounter

java.lang.Object
org.lwjgl.vulkan.EXTDisplaySurfaceCounter

public class EXTDisplaySurfaceCounter extends Object
This extension defines a vertical blanking period counter associated with display surfaces. It provides a mechanism to query support for such a counter from a VkSurfaceKHR object.
Name String
VK_EXT_display_surface_counter
Extension Type
Instance extension
Registered Extension Number
91
Revision
1
Extension and Version Dependencies
VK_KHR_display
Contact
Other Extension Metadata
Last Modified Date
2016-12-13
IP Status
No known IP claims.
Contributors
  • Pierre Boudier, NVIDIA
  • James Jones, NVIDIA
  • Damien Leone, NVIDIA
  • Pierre-Loup Griffais, Valve
  • Daniel Vetter, Intel
  • Field Details

  • Method Details

    • nvkGetPhysicalDeviceSurfaceCapabilities2EXT

      public static int nvkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long surface, long pSurfaceCapabilities)
    • vkGetPhysicalDeviceSurfaceCapabilities2EXT

      public static int vkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long surface, VkSurfaceCapabilities2EXT pSurfaceCapabilities)
      Query surface capabilities.
      C Specification

      To query the basic capabilities of a surface, needed in order to create a swapchain, call:

      
       VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT(
           VkPhysicalDevice                            physicalDevice,
           VkSurfaceKHR                                surface,
           VkSurfaceCapabilities2EXT*                  pSurfaceCapabilities);
      Description

      vkGetPhysicalDeviceSurfaceCapabilities2EXT behaves similarly to GetPhysicalDeviceSurfaceCapabilitiesKHR, with the ability to return extended information by adding extending structures to the pNext chain of its pSurfaceCapabilities parameter.

      Valid Usage
      • surface must be a valid VkSurfaceKHR handle
      • surface must be supported by physicalDevice, as reported by GetPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism
      Valid Usage (Implicit)
      • physicalDevice must be a valid VkPhysicalDevice handle
      • surface must be a valid VkSurfaceKHR handle
      • pSurfaceCapabilities must be a valid pointer to a VkSurfaceCapabilities2EXT structure
      • Both of physicalDevice, and surface must have been created, allocated, or retrieved from the same VkInstance
      Return Codes
      On success, this command returns
      On failure, this command returns
      See Also

      VkSurfaceCapabilities2EXT

      Parameters:
      physicalDevice - the physical device that will be associated with the swapchain to be created, as described for CreateSwapchainKHR.
      surface - the surface that will be associated with the swapchain.
      pSurfaceCapabilities - a pointer to a VkSurfaceCapabilities2EXT structure in which the capabilities are returned.