RetroArch
Functions | Variables
menu_display_vulkan.c File Reference
#include <retro_miscellaneous.h>
#include "../menu_driver.h"
#include "../../gfx/font_driver.h"
#include "../../gfx/video_driver.h"
#include "../../gfx/common/vulkan_common.h"
Include dependency graph for menu_display_vulkan.c:

Functions

static voidmenu_display_vk_get_default_mvp (video_frame_info_t *video_info)
 
static const float * menu_display_vk_get_default_vertices (void)
 
static const float * menu_display_vk_get_default_color (void)
 
static const float * menu_display_vk_get_default_tex_coords (void)
 
static unsigned to_display_pipeline (enum menu_display_prim_type type, bool blend)
 
static void menu_display_vk_viewport (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_vk_draw_pipeline (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_vk_draw (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_vk_restore_clear_color (void)
 
static void menu_display_vk_clear_color (menu_display_ctx_clearcolor_t *clearcolor, video_frame_info_t *video_info)
 
static void menu_display_vk_blend_begin (video_frame_info_t *video_info)
 
static void menu_display_vk_blend_end (video_frame_info_t *video_info)
 
static bool menu_display_vk_font_init_first (void **font_handle, void *video_data, const char *font_path, float font_size, bool is_threaded)
 
static void menu_display_vk_scissor_begin (video_frame_info_t *video_info, int x, int y, unsigned width, unsigned height)
 
static void menu_display_vk_scissor_end (video_frame_info_t *video_info)
 

Variables

static const float vk_vertexes []
 
static const float vk_tex_coords []
 
static const float vk_colors []
 
menu_display_ctx_driver_t menu_display_ctx_vulkan
 

Function Documentation

◆ menu_display_vk_blend_begin()

static void menu_display_vk_blend_begin ( video_frame_info_t video_info)
static

◆ menu_display_vk_blend_end()

static void menu_display_vk_blend_end ( video_frame_info_t video_info)
static

◆ menu_display_vk_clear_color()

static void menu_display_vk_clear_color ( menu_display_ctx_clearcolor_t clearcolor,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ menu_display_vk_draw()

static void menu_display_vk_draw ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ menu_display_vk_draw_pipeline()

static void menu_display_vk_draw_pipeline ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ menu_display_vk_font_init_first()

static bool menu_display_vk_font_init_first ( void **  font_handle,
void video_data,
const char *  font_path,
float  font_size,
bool  is_threaded 
)
static
Here is the call graph for this function:

◆ menu_display_vk_get_default_color()

static const float* menu_display_vk_get_default_color ( void  )
static
Here is the caller graph for this function:

◆ menu_display_vk_get_default_mvp()

static void* menu_display_vk_get_default_mvp ( video_frame_info_t video_info)
static
Here is the caller graph for this function:

◆ menu_display_vk_get_default_tex_coords()

static const float* menu_display_vk_get_default_tex_coords ( void  )
static
Here is the caller graph for this function:

◆ menu_display_vk_get_default_vertices()

static const float* menu_display_vk_get_default_vertices ( void  )
static
Here is the caller graph for this function:

◆ menu_display_vk_restore_clear_color()

static void menu_display_vk_restore_clear_color ( void  )
static

◆ menu_display_vk_scissor_begin()

static void menu_display_vk_scissor_begin ( video_frame_info_t video_info,
int  x,
int  y,
unsigned  width,
unsigned  height 
)
static

◆ menu_display_vk_scissor_end()

static void menu_display_vk_scissor_end ( video_frame_info_t video_info)
static

◆ menu_display_vk_viewport()

static void menu_display_vk_viewport ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the caller graph for this function:

◆ to_display_pipeline()

static unsigned to_display_pipeline ( enum menu_display_prim_type  type,
bool  blend 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ menu_display_ctx_vulkan

menu_display_ctx_driver_t menu_display_ctx_vulkan
Initial value:
= {
"vulkan",
false,
}
static void menu_display_vk_draw(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:181
static const float * menu_display_vk_get_default_tex_coords(void)
Definition: menu_display_vulkan.c:69
Definition: menu_driver.h:324
static void menu_display_vk_blend_begin(video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:317
static const float * menu_display_vk_get_default_vertices(void)
Definition: menu_display_vulkan.c:59
static void menu_display_vk_scissor_end(video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:362
static void menu_display_vk_clear_color(menu_display_ctx_clearcolor_t *clearcolor, video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:291
static void menu_display_vk_draw_pipeline(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:119
static void menu_display_vk_restore_clear_color(void)
Definition: menu_display_vulkan.c:287
static void menu_display_vk_viewport(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:102
static void menu_display_vk_blend_end(video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:325
static void * menu_display_vk_get_default_mvp(video_frame_info_t *video_info)
Definition: menu_display_vulkan.c:51
static void menu_display_vk_scissor_begin(video_frame_info_t *video_info, int x, int y, unsigned width, unsigned height)
Definition: menu_display_vulkan.c:349
static bool menu_display_vk_font_init_first(void **font_handle, void *video_data, const char *font_path, float font_size, bool is_threaded)
Definition: menu_display_vulkan.c:333

◆ vk_colors

const float vk_colors[]
static
Initial value:
= {
1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f,
}

◆ vk_tex_coords

const float vk_tex_coords[]
static
Initial value:
= {
0, 1,
1, 1,
0, 0,
1, 0
}

◆ vk_vertexes

const float vk_vertexes[]
static
Initial value:
= {
0, 0,
1, 0,
0, 1,
1, 1
}