RetroArch
Functions | Variables
frontend_driver.c File Reference
#include <string.h>
#include <compat/strl.h>
#include <string/stdstring.h>
#include "frontend_driver.h"
Include dependency graph for frontend_driver.c:

Functions

frontend_ctx_driver_tfrontend_ctx_find_driver (const char *ident)
 
frontend_ctx_driver_tfrontend_ctx_init_first (void)
 
bool frontend_driver_get_core_extension (char *s, size_t len)
 
bool frontend_driver_get_salamander_basename (char *s, size_t len)
 
frontend_ctx_driver_tfrontend_get_ptr (void)
 
int frontend_driver_parse_drive_list (void *data, bool load_content)
 
void frontend_driver_content_loaded (void)
 
bool frontend_driver_has_fork (void)
 
bool frontend_driver_set_fork (enum frontend_fork fork_mode)
 
void frontend_driver_process_args (int *argc, char *argv[])
 
bool frontend_driver_is_inited (void)
 
void frontend_driver_init_first (void *args)
 
void frontend_driver_free (void)
 
environment_get_t frontend_driver_environment_get_ptr (void)
 
bool frontend_driver_has_get_video_driver_func (void)
 
const struct video_driverfrontend_driver_get_video_driver (void)
 
void frontend_driver_exitspawn (char *s, size_t len)
 
void frontend_driver_deinit (void *args)
 
void frontend_driver_shutdown (bool a)
 
enum frontend_architecture frontend_driver_get_cpu_architecture (void)
 
uint64_t frontend_driver_get_total_memory (void)
 
uint64_t frontend_driver_get_used_memory (void)
 
void frontend_driver_install_signal_handler (void)
 
int frontend_driver_get_signal_handler_state (void)
 
void frontend_driver_set_signal_handler_state (int value)
 
void frontend_driver_attach_console (void)
 
void frontend_driver_detach_console (void)
 
void frontend_driver_destroy_signal_handler_state (void)
 
bool frontend_driver_can_watch_for_changes (void)
 
void frontend_driver_watch_path_for_changes (struct string_list *list, int flags, path_change_data_t **change_data)
 
bool frontend_driver_check_for_path_changes (path_change_data_t *change_data)
 
void frontend_driver_set_sustained_performance_mode (bool on)
 

Variables

static frontend_ctx_driver_tfrontend_ctx_drivers []
 
static frontend_ctx_driver_tcurrent_frontend_ctx
 

Function Documentation

◆ frontend_ctx_find_driver()

frontend_ctx_driver_t* frontend_ctx_find_driver ( const char *  ident)

frontend_ctx_find_driver: : Identifier name of driver to find.

Finds driver with . Does not initialize.

Returns: pointer to driver if successful, otherwise NULL.

Here is the call graph for this function:

◆ frontend_ctx_init_first()

frontend_ctx_driver_t* frontend_ctx_init_first ( void  )

frontend_ctx_init_first:

Finds first suitable driver and initialize.

Returns: pointer to first suitable driver, otherwise NULL.

Here is the caller graph for this function:

◆ frontend_driver_attach_console()

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

◆ frontend_driver_can_watch_for_changes()

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

◆ frontend_driver_check_for_path_changes()

bool frontend_driver_check_for_path_changes ( path_change_data_t change_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_content_loaded()

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

◆ frontend_driver_deinit()

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

◆ frontend_driver_destroy_signal_handler_state()

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

◆ frontend_driver_detach_console()

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

◆ frontend_driver_environment_get_ptr()

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

◆ frontend_driver_exitspawn()

void frontend_driver_exitspawn ( char *  s,
size_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_free()

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

◆ frontend_driver_get_core_extension()

bool frontend_driver_get_core_extension ( char *  s,
size_t  len 
)
Here is the caller graph for this function:

◆ frontend_driver_get_cpu_architecture()

enum frontend_architecture frontend_driver_get_cpu_architecture ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_get_salamander_basename()

bool frontend_driver_get_salamander_basename ( char *  s,
size_t  len 
)
Here is the caller graph for this function:

◆ frontend_driver_get_signal_handler_state()

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

◆ frontend_driver_get_total_memory()

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

◆ frontend_driver_get_used_memory()

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

◆ frontend_driver_get_video_driver()

const struct video_driver* frontend_driver_get_video_driver ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_has_fork()

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

◆ frontend_driver_has_get_video_driver_func()

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

◆ frontend_driver_init_first()

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

◆ frontend_driver_install_signal_handler()

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

◆ frontend_driver_is_inited()

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

◆ frontend_driver_parse_drive_list()

int frontend_driver_parse_drive_list ( void data,
bool  load_content 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_process_args()

void frontend_driver_process_args ( int *  argc,
char *  argv[] 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_fork()

bool frontend_driver_set_fork ( enum frontend_fork  fork_mode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_signal_handler_state()

void frontend_driver_set_signal_handler_state ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_sustained_performance_mode()

void frontend_driver_set_sustained_performance_mode ( bool  on)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_shutdown()

void frontend_driver_shutdown ( bool  a)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_watch_path_for_changes()

void frontend_driver_watch_path_for_changes ( struct string_list list,
int  flags,
path_change_data_t **  change_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_get_ptr()

frontend_ctx_driver_t* frontend_get_ptr ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ current_frontend_ctx

frontend_ctx_driver_t* current_frontend_ctx
static

◆ frontend_ctx_drivers

frontend_ctx_driver_t* frontend_ctx_drivers[]
static