| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_EXT_directfb_surface
Description
Name
VK_EXT_directfb_surface - instance extension
VK_EXT_directfb_surface
- Name String
VK_EXT_directfb_surface
- Extension Type
- Instance extension
- Registered Extension Number
- 347
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_surface
- Contact
Other Extension Metadata
- Last Modified Date
- 2020-06-16
- IP Status
- No known IP claims.
- Contributors
- Nicolas Caramelli
Description
The VK_EXT_directfb_surface extension is an instance extension. It
provides a mechanism to create a SurfaceKHR
object (defined by the VK_KHR_surface extension) that refers to a
DirectFB IDirectFBSurface, as well as a query to determine support for
rendering via DirectFB.
New Commands
New Structures
New Bitmasks
New Enum Constants
Version History
Revision 1, 2020-06-16 (Nicolas Caramelli)
- Initial version
See Also
DirectFBSurfaceCreateFlagsEXT, DirectFBSurfaceCreateInfoEXT,
createDirectFBSurfaceEXT,
getPhysicalDeviceDirectFBPresentationSupportEXT
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- createDirectFBSurfaceEXT :: forall io. MonadIO io => Instance -> DirectFBSurfaceCreateInfoEXT -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- getPhysicalDeviceDirectFBPresentationSupportEXT :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> ("dfb" ::: Ptr IDirectFB) -> io Bool
- data DirectFBSurfaceCreateInfoEXT = DirectFBSurfaceCreateInfoEXT {}
- newtype DirectFBSurfaceCreateFlagsEXT = DirectFBSurfaceCreateFlagsEXT Flags
- type EXT_DIRECTFB_SURFACE_SPEC_VERSION = 1
- pattern EXT_DIRECTFB_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DIRECTFB_SURFACE_EXTENSION_NAME = "VK_EXT_directfb_surface"
- pattern EXT_DIRECTFB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- data IDirectFB
- data IDirectFBSurface
- newtype SurfaceKHR = SurfaceKHR Word64
Documentation
createDirectFBSurfaceEXT Source #
Arguments
| :: forall io. MonadIO io | |
| => Instance |
|
| -> DirectFBSurfaceCreateInfoEXT |
|
| -> ("allocator" ::: Maybe AllocationCallbacks) |
|
| -> io SurfaceKHR |
vkCreateDirectFBSurfaceEXT - Create a
SurfaceKHR object for a DirectFB surface
Valid Usage (Implicit)
-
instancemust be a validInstancehandle
-
pCreateInfomust be a valid pointer to a validDirectFBSurfaceCreateInfoEXTstructure - If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validAllocationCallbacksstructure -
pSurfacemust be a valid pointer to aSurfaceKHRhandle
Return Codes
See Also
VK_EXT_directfb_surface,
AllocationCallbacks,
DirectFBSurfaceCreateInfoEXT, Instance,
SurfaceKHR
getPhysicalDeviceDirectFBPresentationSupportEXT Source #
Arguments
| :: forall io. MonadIO io | |
| => PhysicalDevice |
|
| -> ("queueFamilyIndex" ::: Word32) |
|
| -> ("dfb" ::: Ptr IDirectFB) |
|
| -> io Bool |
vkGetPhysicalDeviceDirectFBPresentationSupportEXT - Query physical device for presentation with DirectFB
Description
This platform-specific function can be called prior to creating a surface.
Valid Usage (Implicit)
See Also
data DirectFBSurfaceCreateInfoEXT Source #
VkDirectFBSurfaceCreateInfoEXT - Structure specifying parameters of a newly created DirectFB surface object
Valid Usage (Implicit)
See Also
VK_EXT_directfb_surface,
DirectFBSurfaceCreateFlagsEXT,
StructureType,
createDirectFBSurfaceEXT
Constructors
| DirectFBSurfaceCreateInfoEXT | |
Fields
| |
Instances
newtype DirectFBSurfaceCreateFlagsEXT Source #
VkDirectFBSurfaceCreateFlagsEXT - Reserved for future use
Description
DirectFBSurfaceCreateFlagsEXT is a bitmask type for setting a mask,
but is currently reserved for future use.
See Also
Constructors
| DirectFBSurfaceCreateFlagsEXT Flags |
Instances
type EXT_DIRECTFB_SURFACE_SPEC_VERSION = 1 Source #
pattern EXT_DIRECTFB_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DIRECTFB_SURFACE_EXTENSION_NAME = "VK_EXT_directfb_surface" Source #
pattern EXT_DIRECTFB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
data IDirectFBSurface Source #
newtype SurfaceKHR Source #
VkSurfaceKHR - Opaque handle to a surface object
Description
The VK_KHR_surface extension declares the SurfaceKHR object, and
provides a function for destroying SurfaceKHR objects. Separate
platform-specific extensions each provide a function for creating a
SurfaceKHR object for the respective platform. From the application’s
perspective this is an opaque handle, just like the handles of other
Vulkan objects.
See Also
VK_KHR_surface,
PhysicalDeviceSurfaceInfo2KHR,
SwapchainCreateInfoKHR,
createAndroidSurfaceKHR,
createDirectFBSurfaceEXT,
createDisplayPlaneSurfaceKHR,
createHeadlessSurfaceEXT,
createIOSSurfaceMVK,
createImagePipeSurfaceFUCHSIA,
createMacOSSurfaceMVK,
createMetalSurfaceEXT,
createScreenSurfaceQNX,
createStreamDescriptorSurfaceGGP,
createViSurfaceNN,
createWaylandSurfaceKHR,
createWin32SurfaceKHR,
createXcbSurfaceKHR,
createXlibSurfaceKHR,
destroySurfaceKHR,
getDeviceGroupSurfacePresentModesKHR,
getPhysicalDevicePresentRectanglesKHR,
getPhysicalDeviceSurfaceCapabilities2EXT,
getPhysicalDeviceSurfaceCapabilitiesKHR,
getPhysicalDeviceSurfaceFormatsKHR,
getPhysicalDeviceSurfacePresentModesKHR,
getPhysicalDeviceSurfaceSupportKHR
Constructors
| SurfaceKHR Word64 |