RetroArch
Functions | Variables
font_driver.c File Reference
#include <stdlib.h>
#include "font_driver.h"
#include "video_thread_wrapper.h"
#include "../configuration.h"
#include "../verbosity.h"
Include dependency graph for font_driver.c:
This graph shows which files directly or indirectly include this file:

Functions

int font_renderer_create_default (const font_renderer_driver_t **drv, void **handle, const char *font_path, unsigned font_size)
 
static bool font_init_first (const void **font_driver, void **font_handle, void *video_data, const char *font_path, float font_size, enum font_driver_render_api api, bool is_threaded)
 
void font_driver_render_msg (video_frame_info_t *video_info, void *font_data, const char *msg, const struct font_params *params)
 
void font_driver_bind_block (void *font_data, void *block)
 
void font_driver_flush (unsigned width, unsigned height, void *font_data, video_frame_info_t *video_info)
 
int font_driver_get_message_width (void *font_data, const char *msg, unsigned len, float scale)
 
void font_driver_free (void *font_data)
 
font_data_tfont_driver_init_first (void *video_data, const char *font_path, float font_size, bool threading_hint, bool is_threaded, enum font_driver_render_api api)
 
void font_driver_init_osd (void *video_data, bool threading_hint, bool is_threaded, enum font_driver_render_api api)
 
void font_driver_free_osd (void)
 

Variables

static const font_renderer_driver_tfont_backends []
 
static voidvideo_font_driver = NULL
 

Function Documentation

◆ font_driver_bind_block()

void font_driver_bind_block ( void font_data,
void block 
)
Here is the caller graph for this function:

◆ font_driver_flush()

void font_driver_flush ( unsigned  width,
unsigned  height,
void font_data,
video_frame_info_t video_info 
)
Here is the caller graph for this function:

◆ font_driver_free()

void font_driver_free ( void font_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_free_osd()

void font_driver_free_osd ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_get_message_width()

int font_driver_get_message_width ( void font_data,
const char *  msg,
unsigned  len,
float  scale 
)
Here is the caller graph for this function:

◆ font_driver_init_first()

font_data_t* font_driver_init_first ( void video_data,
const char *  font_path,
float  font_size,
bool  threading_hint,
bool  is_threaded,
enum font_driver_render_api  api 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_init_osd()

void font_driver_init_osd ( void video_data,
bool  threading_hint,
bool  is_threaded,
enum font_driver_render_api  api 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_render_msg()

void font_driver_render_msg ( video_frame_info_t video_info,
void font_data,
const char *  msg,
const struct font_params params 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_init_first()

static bool font_init_first ( const void **  font_driver,
void **  font_handle,
void video_data,
const char *  font_path,
float  font_size,
enum font_driver_render_api  api,
bool  is_threaded 
)
static
Here is the caller graph for this function:

◆ font_renderer_create_default()

int font_renderer_create_default ( const font_renderer_driver_t **  drv,
void **  handle,
const char *  font_path,
unsigned  font_size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ font_backends

const font_renderer_driver_t* font_backends[]
static
Initial value:
= {
}
font_renderer_driver_t bitmap_font_renderer
Definition: bitmapfont.c:148
#define NULL
Pointer to 0.
Definition: gctypes.h:65

◆ video_font_driver

void* video_font_driver = NULL
static