Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class EXTSurfaceMaintenance1

extends Object
Class Inheritance

VK_EXT_surface_maintenance1 adds a collection of window system integration features that were intentionally left out or overlooked in the original VK_KHR_surface extension.

The new features are as follows:

VK_EXT_surface_maintenance1
Name String
VK_EXT_surface_maintenance1
Extension Type
Instance extension
Registered Extension Number
275
Revision
1
Extension and Version Dependencies
VK_KHR_surface and VK_KHR_get_surface_capabilities2
Contact
Extension Proposal
VK_EXT_surface_maintenance1
Other Extension Metadata
Last Modified Date
2022-11-09
Contributors
  • Jeff Juliano, NVIDIA
  • Lionel Landwerlin, Intel
  • Shahbaz Youssefi, Google
  • Chris Forbes, Google
  • Ian Elliott, Google
  • Hans-Kristian Arntzen, Valve
  • Daniel Stone, Collabora

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
VK_EXT_SURFACE_MAINTENANCE_1_SPEC_VERSION

The extension specification version.

public static final int
VK_PRESENT_GRAVITY_CENTERED_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis Description

public static final int
VK_PRESENT_GRAVITY_MAX_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis Description

public static final int
VK_PRESENT_GRAVITY_MIN_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis Description

public static final int
VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods Description

  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
public static final int
VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods Description

  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
public static final int
VK_PRESENT_SCALING_STRETCH_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods Description

  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAMEback to summary
public static final String VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME

The extension name.

VK_EXT_SURFACE_MAINTENANCE_1_SPEC_VERSIONback to summary
public static final int VK_EXT_SURFACE_MAINTENANCE_1_SPEC_VERSION

The extension specification version.

VK_PRESENT_GRAVITY_CENTERED_BIT_EXTback to summary
public static final int VK_PRESENT_GRAVITY_CENTERED_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis

Description

If the value in VkSurfaceCapabilitiesKHR::currentTransform is not SURFACE_TRANSFORM_IDENTITY_BIT_KHR, it is implementation-defined whether the gravity configuration applies to the presented image before or after transformation.

VK_PRESENT_GRAVITY_MAX_BIT_EXTback to summary
public static final int VK_PRESENT_GRAVITY_MAX_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis

Description

If the value in VkSurfaceCapabilitiesKHR::currentTransform is not SURFACE_TRANSFORM_IDENTITY_BIT_KHR, it is implementation-defined whether the gravity configuration applies to the presented image before or after transformation.

VK_PRESENT_GRAVITY_MIN_BIT_EXTback to summary
public static final int VK_PRESENT_GRAVITY_MIN_BIT_EXT

VkPresentGravityFlagBitsEXT - Bitmask specifying presentation pixel gravity on either the x or y axis

Description

If the value in VkSurfaceCapabilitiesKHR::currentTransform is not SURFACE_TRANSFORM_IDENTITY_BIT_KHR, it is implementation-defined whether the gravity configuration applies to the presented image before or after transformation.

VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXTback to summary
public static final int VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods

Description
  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXTback to summary
public static final int VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods

Description
  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
VK_PRESENT_SCALING_STRETCH_BIT_EXTback to summary
public static final int VK_PRESENT_SCALING_STRETCH_BIT_EXT

VkPresentScalingFlagBitsEXT - Bitmask specifying presentation scaling methods

Description
  • PRESENT_SCALING_ONE_TO_ONE_BIT_EXT specifies that no scaling occurs, and pixels in the swapchain image are mapped to one and only one pixel in the surface. The mapping between pixels is defined by the chosen presentation gravity.
  • PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that at least one of the resulting width or height is equal to the corresponding surface dimension, and the other resulting dimension is less than or equal to the corresponding surface dimension, with the aspect ratio of the resulting image being identical to that of the original swapchain image.
  • PRESENT_SCALING_STRETCH_BIT_EXT specifies that the swapchain image will be minified or magnified such that the resulting image dimensions are equal to those of the surface.
VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXTback to summary
public static final int VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXTback to summary
public static final int VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT

Extends VkStructureType.

Enum values:

Constructor Detail

EXTSurfaceMaintenance1back to summary
private EXTSurfaceMaintenance1()