RetroArch
Classes | Macros | Typedefs
libretro_vulkan.h File Reference
#include <libretro.h>
#include <vulkan/vulkan.h>
Include dependency graph for libretro_vulkan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  retro_vulkan_image
 
struct  retro_vulkan_context
 
struct  retro_hw_render_context_negotiation_interface_vulkan
 
struct  retro_hw_render_interface_vulkan
 

Macros

#define RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION   5
 
#define RETRO_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE_VULKAN_VERSION   1
 

Typedefs

typedef void(* retro_vulkan_set_image_t) (void *handle, const struct retro_vulkan_image *image, uint32_t num_semaphores, const VkSemaphore *semaphores, uint32_t src_queue_family)
 
typedef uint32_t(* retro_vulkan_get_sync_index_t) (void *handle)
 
typedef uint32_t(* retro_vulkan_get_sync_index_mask_t) (void *handle)
 
typedef void(* retro_vulkan_set_command_buffers_t) (void *handle, uint32_t num_cmd, const VkCommandBuffer *cmd)
 
typedef void(* retro_vulkan_wait_sync_index_t) (void *handle)
 
typedef void(* retro_vulkan_lock_queue_t) (void *handle)
 
typedef void(* retro_vulkan_unlock_queue_t) (void *handle)
 
typedef void(* retro_vulkan_set_signal_semaphore_t) (void *handle, VkSemaphore semaphore)
 
typedef const VkApplicationInfo *(* retro_vulkan_get_application_info_t) (void)
 
typedef bool(* retro_vulkan_create_device_t) (struct retro_vulkan_context *context, VkInstance instance, VkPhysicalDevice gpu, VkSurfaceKHR surface, PFN_vkGetInstanceProcAddr get_instance_proc_addr, const char **required_device_extensions, unsigned num_required_device_extensions, const char **required_device_layers, unsigned num_required_device_layers, const VkPhysicalDeviceFeatures *required_features)
 
typedef void(* retro_vulkan_destroy_device_t) (void)
 

Macro Definition Documentation

◆ RETRO_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE_VULKAN_VERSION

#define RETRO_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE_VULKAN_VERSION   1

◆ RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION

#define RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION   5

Typedef Documentation

◆ retro_vulkan_create_device_t

typedef bool(* retro_vulkan_create_device_t) (struct retro_vulkan_context *context, VkInstance instance, VkPhysicalDevice gpu, VkSurfaceKHR surface, PFN_vkGetInstanceProcAddr get_instance_proc_addr, const char **required_device_extensions, unsigned num_required_device_extensions, const char **required_device_layers, unsigned num_required_device_layers, const VkPhysicalDeviceFeatures *required_features)

◆ retro_vulkan_destroy_device_t

typedef void(* retro_vulkan_destroy_device_t) (void)

◆ retro_vulkan_get_application_info_t

typedef const VkApplicationInfo*(* retro_vulkan_get_application_info_t) (void)

◆ retro_vulkan_get_sync_index_mask_t

typedef uint32_t(* retro_vulkan_get_sync_index_mask_t) (void *handle)

◆ retro_vulkan_get_sync_index_t

typedef uint32_t(* retro_vulkan_get_sync_index_t) (void *handle)

◆ retro_vulkan_lock_queue_t

typedef void(* retro_vulkan_lock_queue_t) (void *handle)

◆ retro_vulkan_set_command_buffers_t

typedef void(* retro_vulkan_set_command_buffers_t) (void *handle, uint32_t num_cmd, const VkCommandBuffer *cmd)

◆ retro_vulkan_set_image_t

typedef void(* retro_vulkan_set_image_t) (void *handle, const struct retro_vulkan_image *image, uint32_t num_semaphores, const VkSemaphore *semaphores, uint32_t src_queue_family)

◆ retro_vulkan_set_signal_semaphore_t

typedef void(* retro_vulkan_set_signal_semaphore_t) (void *handle, VkSemaphore semaphore)

◆ retro_vulkan_unlock_queue_t

typedef void(* retro_vulkan_unlock_queue_t) (void *handle)

◆ retro_vulkan_wait_sync_index_t

typedef void(* retro_vulkan_wait_sync_index_t) (void *handle)