|
bool | vulkan_emulated_mailbox_init (struct vulkan_emulated_mailbox *mailbox, VkDevice device, VkSwapchainKHR swapchain) |
|
void | vulkan_emulated_mailbox_deinit (struct vulkan_emulated_mailbox *mailbox) |
|
VkResult | vulkan_emulated_mailbox_acquire_next_image (struct vulkan_emulated_mailbox *mailbox, unsigned *index) |
|
VkResult | vulkan_emulated_mailbox_acquire_next_image_blocking (struct vulkan_emulated_mailbox *mailbox, unsigned *index) |
|
struct vk_buffer_chain | vulkan_buffer_chain_init (VkDeviceSize block_size, VkDeviceSize alignment, VkBufferUsageFlags usage) |
|
void | vulkan_buffer_chain_discard (struct vk_buffer_chain *chain) |
|
bool | vulkan_buffer_chain_alloc (const struct vulkan_context *context, struct vk_buffer_chain *chain, size_t size, struct vk_buffer_range *range) |
|
void | vulkan_buffer_chain_free (VkDevice device, struct vk_buffer_chain *chain) |
|
uint32_t | vulkan_find_memory_type (const VkPhysicalDeviceMemoryProperties *mem_props, uint32_t device_reqs, uint32_t host_reqs) |
|
uint32_t | vulkan_find_memory_type_fallback (const VkPhysicalDeviceMemoryProperties *mem_props, uint32_t device_reqs, uint32_t host_reqs_first, uint32_t host_reqs_second) |
|
struct vk_texture | vulkan_create_texture (vk_t *vk, struct vk_texture *old, unsigned width, unsigned height, VkFormat format, const void *initial, const VkComponentMapping *swizzle, enum vk_texture_type type) |
|
void | vulkan_sync_texture_to_gpu (vk_t *vk, const struct vk_texture *tex) |
|
void | vulkan_sync_texture_to_cpu (vk_t *vk, const struct vk_texture *tex) |
|
void | vulkan_transition_texture (vk_t *vk, VkCommandBuffer cmd, struct vk_texture *texture) |
|
void | vulkan_transfer_image_ownership (VkCommandBuffer cmd, VkImage image, VkImageLayout layout, VkPipelineStageFlags src_stages, VkPipelineStageFlags dst_stages, uint32_t src_queue_family, uint32_t dst_queue_family) |
|
void | vulkan_map_persistent_texture (VkDevice device, struct vk_texture *texture) |
|
void | vulkan_destroy_texture (VkDevice device, struct vk_texture *tex) |
|
void | vulkan_copy_staging_to_dynamic (vk_t *vk, VkCommandBuffer cmd, struct vk_texture *dynamic, struct vk_texture *staging) |
|
void | vulkan_draw_quad (vk_t *vk, const struct vk_draw_quad *quad) |
|
void | vulkan_draw_triangles (vk_t *vk, const struct vk_draw_triangles *call) |
|
void | vulkan_image_layout_transition (vk_t *vk, VkCommandBuffer cmd, VkImage image, VkImageLayout old_layout, VkImageLayout new_layout, VkAccessFlags srcAccess, VkAccessFlags dstAccess, VkPipelineStageFlags srcStages, VkPipelineStageFlags dstStages) |
|
void | vulkan_image_layout_transition_levels (VkCommandBuffer cmd, VkImage image, uint32_t levels, VkImageLayout old_layout, VkImageLayout new_layout, VkAccessFlags src_access, VkAccessFlags dst_access, VkPipelineStageFlags src_stages, VkPipelineStageFlags dst_stages) |
|
static INLINE unsigned | vulkan_format_to_bpp (VkFormat format) |
|
static INLINE void | vulkan_write_quad_vbo (struct vk_vertex *pv, float x, float y, float width, float height, float tex_x, float tex_y, float tex_width, float tex_height, const struct vk_color *color) |
|
struct vk_buffer | vulkan_create_buffer (const struct vulkan_context *context, size_t size, VkBufferUsageFlags usage) |
|
void | vulkan_destroy_buffer (VkDevice device, struct vk_buffer *buffer) |
|
VkDescriptorSet | vulkan_descriptor_manager_alloc (VkDevice device, struct vk_descriptor_manager *manager) |
|
void | vulkan_descriptor_manager_restart (struct vk_descriptor_manager *manager) |
|
struct vk_descriptor_manager | vulkan_create_descriptor_manager (VkDevice device, const VkDescriptorPoolSize *sizes, unsigned num_sizes, VkDescriptorSetLayout set_layout) |
|
void | vulkan_destroy_descriptor_manager (VkDevice device, struct vk_descriptor_manager *manager) |
|
bool | vulkan_context_init (gfx_ctx_vulkan_data_t *vk, enum vulkan_wsi_type type) |
|
void | vulkan_context_destroy (gfx_ctx_vulkan_data_t *vk, bool destroy_surface) |
|
bool | vulkan_surface_create (gfx_ctx_vulkan_data_t *vk, enum vulkan_wsi_type type, void *display, void *surface, unsigned width, unsigned height, unsigned swap_interval) |
|
void | vulkan_present (gfx_ctx_vulkan_data_t *vk, unsigned index) |
|
void | vulkan_acquire_next_image (gfx_ctx_vulkan_data_t *vk) |
|
bool | vulkan_create_swapchain (gfx_ctx_vulkan_data_t *vk, unsigned width, unsigned height, unsigned swap_interval) |
|