RetroArch
Macros | Functions | Variables
menu_displaylist.c File Reference
#include <stddef.h>
#include <compat/strl.h>
#include <compat/strcasestr.h>
#include <lists/file_list.h>
#include <lists/dir_list.h>
#include <file/file_path.h>
#include <file/archive_file.h>
#include <string/stdstring.h>
#include <streams/file_stream.h>
#include <features/features_cpu.h>
#include "menu_cbs.h"
#include "menu_content.h"
#include "menu_driver.h"
#include "menu_entries.h"
#include "menu_shader.h"
#include "menu_networking.h"
#include "widgets/menu_dialog.h"
#include "widgets/menu_filebrowser.h"
#include "../audio/audio_driver.h"
#include "../configuration.h"
#include "../file_path_special.h"
#include "../defaults.h"
#include "../verbosity.h"
#include "../managers/cheat_manager.h"
#include "../managers/core_option_manager.h"
#include "../paths.h"
#include "../record/record_driver.h"
#include "../retroarch.h"
#include "../core.h"
#include "../frontend/frontend_driver.h"
#include "../ui/ui_companion_driver.h"
#include "../gfx/video_driver.h"
#include "../gfx/video_display_server.h"
#include "../config.features.h"
#include "../version_git.h"
#include "../input/input_driver.h"
#include "../list_special.h"
#include "../performance_counters.h"
#include "../core_info.h"
#include "../wifi/wifi_driver.h"
#include "../tasks/tasks_internal.h"
Include dependency graph for menu_displaylist.c:

Macros

#define BYTES_TO_MB(bytes)   ((bytes) / 1024 / 1024)
 
#define BYTES_TO_GB(bytes)   (((bytes) / 1024) / 1024 / 1024)
 
#define menu_displaylist_parse_settings(data, info, info_label, parse_type, add_empty_entry, entry_type)   menu_displaylist_parse_settings_internal(data, info, parse_type, add_empty_entry, entry_type, menu_setting_find(info_label))
 
#define menu_displaylist_parse_settings_enum(data, info, label, parse_type, add_empty_entry)   menu_displaylist_parse_settings_internal_enum(data, info, parse_type, add_empty_entry, menu_setting_find_enum(label), label)
 

Functions

static void menu_displaylist_push_perfcounter (menu_displaylist_info_t *info, struct retro_perf_counter **counters, unsigned num, unsigned id)
 
static int menu_displaylist_parse_core_info (menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_system_info (menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_playlist (menu_displaylist_info_t *info, playlist_t *playlist, const char *path_playlist, bool is_history)
 
static int menu_displaylist_parse_shader_options (menu_displaylist_info_t *info)
 
static unsigned deferred_push_video_shader_parameters_common (menu_displaylist_info_t *info, struct video_shader *shader, unsigned base_parameter)
 
static int menu_displaylist_parse_settings_internal (void *data, menu_displaylist_info_t *info, enum menu_displaylist_parse_type parse_type, bool add_empty_entry, unsigned entry_type, rarch_setting_t *setting)
 
static int menu_displaylist_parse_settings_internal_enum (void *data, menu_displaylist_info_t *info, enum menu_displaylist_parse_type parse_type, bool add_empty_entry, rarch_setting_t *setting, enum msg_hash_enums enum_idx)
 
static void menu_displaylist_set_new_playlist (menu_handle_t *menu, const char *path)
 
static int menu_displaylist_parse_horizontal_list (menu_handle_t *menu, menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_load_content_settings (menu_handle_t *menu, menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_horizontal_content_actions (menu_handle_t *menu, menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_information_list (menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_configurations_list (menu_displaylist_info_t *info)
 
static unsigned menu_displaylist_parse_add_content_list (menu_displaylist_info_t *info)
 
static unsigned menu_displaylist_parse_scan_directory_list (menu_displaylist_info_t *info)
 
static unsigned menu_displaylist_parse_options (menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_options_cheats (menu_displaylist_info_t *info, menu_handle_t *menu)
 
static int menu_displaylist_parse_options_remappings (menu_handle_t *menu, menu_displaylist_info_t *info)
 
static int menu_displaylist_parse_playlists (menu_displaylist_info_t *info, bool horizontal)
 
static unsigned menu_displaylist_parse_cores (menu_handle_t *menu, menu_displaylist_info_t *info)
 
static void menu_displaylist_parse_playlist_associations (menu_displaylist_info_t *info)
 
static bool menu_displaylist_push_internal (const char *label, menu_displaylist_ctx_entry_t *entry, menu_displaylist_info_t *info)
 
bool menu_displaylist_push (menu_displaylist_ctx_entry_t *entry)
 
static void menu_displaylist_parse_playlist_generic (menu_handle_t *menu, menu_displaylist_info_t *info, const char *playlist_name, const char *playlist_path, int *ret)
 
bool menu_displaylist_process (menu_displaylist_info_t *info)
 
void menu_displaylist_info_free (menu_displaylist_info_t *info)
 
void menu_displaylist_info_init (menu_displaylist_info_t *info)
 
bool menu_displaylist_setting (menu_displaylist_ctx_parse_entry_t *entry)
 
bool menu_displaylist_ctl (enum menu_displaylist_ctl_state type, menu_displaylist_info_t *info)
 

Variables

static char new_path_entry [4096] = {0}
 
static char new_lbl_entry [4096] = {0}
 
static char new_entry [4096] = {0}
 
static enum msg_hash_enums new_type = MSG_UNKNOWN
 

Macro Definition Documentation

◆ BYTES_TO_GB

#define BYTES_TO_GB (   bytes)    (((bytes) / 1024) / 1024 / 1024)

◆ BYTES_TO_MB

#define BYTES_TO_MB (   bytes)    ((bytes) / 1024 / 1024)

◆ menu_displaylist_parse_settings

#define menu_displaylist_parse_settings (   data,
  info,
  info_label,
  parse_type,
  add_empty_entry,
  entry_type 
)    menu_displaylist_parse_settings_internal(data, info, parse_type, add_empty_entry, entry_type, menu_setting_find(info_label))

◆ menu_displaylist_parse_settings_enum

#define menu_displaylist_parse_settings_enum (   data,
  info,
  label,
  parse_type,
  add_empty_entry 
)    menu_displaylist_parse_settings_internal_enum(data, info, parse_type, add_empty_entry, menu_setting_find_enum(label), label)

Function Documentation

◆ deferred_push_video_shader_parameters_common()

static unsigned deferred_push_video_shader_parameters_common ( menu_displaylist_info_t info,
struct video_shader shader,
unsigned  base_parameter 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_ctl()

bool menu_displaylist_ctl ( enum menu_displaylist_ctl_state  type,
menu_displaylist_info_t info 
)
Here is the caller graph for this function:

◆ menu_displaylist_info_free()

void menu_displaylist_info_free ( menu_displaylist_info_t info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_info_init()

void menu_displaylist_info_init ( menu_displaylist_info_t info)
Here is the caller graph for this function:

◆ menu_displaylist_parse_add_content_list()

static unsigned menu_displaylist_parse_add_content_list ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_configurations_list()

static int menu_displaylist_parse_configurations_list ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_core_info()

static int menu_displaylist_parse_core_info ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_cores()

static unsigned menu_displaylist_parse_cores ( menu_handle_t menu,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_horizontal_content_actions()

static int menu_displaylist_parse_horizontal_content_actions ( menu_handle_t menu,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_horizontal_list()

static int menu_displaylist_parse_horizontal_list ( menu_handle_t menu,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_information_list()

static int menu_displaylist_parse_information_list ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_load_content_settings()

static int menu_displaylist_parse_load_content_settings ( menu_handle_t menu,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_options()

static unsigned menu_displaylist_parse_options ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_options_cheats()

static int menu_displaylist_parse_options_cheats ( menu_displaylist_info_t info,
menu_handle_t menu 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_options_remappings()

static int menu_displaylist_parse_options_remappings ( menu_handle_t menu,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_playlist()

static int menu_displaylist_parse_playlist ( menu_displaylist_info_t info,
playlist_t playlist,
const char *  path_playlist,
bool  is_history 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_playlist_associations()

static void menu_displaylist_parse_playlist_associations ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_playlist_generic()

static void menu_displaylist_parse_playlist_generic ( menu_handle_t menu,
menu_displaylist_info_t info,
const char *  playlist_name,
const char *  playlist_path,
int *  ret 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_playlists()

static int menu_displaylist_parse_playlists ( menu_displaylist_info_t info,
bool  horizontal 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_scan_directory_list()

static unsigned menu_displaylist_parse_scan_directory_list ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_settings_internal()

static int menu_displaylist_parse_settings_internal ( void data,
menu_displaylist_info_t info,
enum menu_displaylist_parse_type  parse_type,
bool  add_empty_entry,
unsigned  entry_type,
rarch_setting_t setting 
)
static
Here is the call graph for this function:

◆ menu_displaylist_parse_settings_internal_enum()

static int menu_displaylist_parse_settings_internal_enum ( void data,
menu_displaylist_info_t info,
enum menu_displaylist_parse_type  parse_type,
bool  add_empty_entry,
rarch_setting_t setting,
enum msg_hash_enums  enum_idx 
)
static
Here is the call graph for this function:

◆ menu_displaylist_parse_shader_options()

static int menu_displaylist_parse_shader_options ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_parse_system_info()

static int menu_displaylist_parse_system_info ( menu_displaylist_info_t info)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_process()

bool menu_displaylist_process ( menu_displaylist_info_t info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_push()

bool menu_displaylist_push ( menu_displaylist_ctx_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_push_internal()

static bool menu_displaylist_push_internal ( const char *  label,
menu_displaylist_ctx_entry_t entry,
menu_displaylist_info_t info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_push_perfcounter()

static void menu_displaylist_push_perfcounter ( menu_displaylist_info_t info,
struct retro_perf_counter **  counters,
unsigned  num,
unsigned  id 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_set_new_playlist()

static void menu_displaylist_set_new_playlist ( menu_handle_t menu,
const char *  path 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_displaylist_setting()

bool menu_displaylist_setting ( menu_displaylist_ctx_parse_entry_t entry)
Here is the caller graph for this function:

Variable Documentation

◆ new_entry

char new_entry[4096] = {0}
static

◆ new_lbl_entry

char new_lbl_entry[4096] = {0}
static

◆ new_path_entry

char new_path_entry[4096] = {0}
static

◆ new_type

enum msg_hash_enums new_type = MSG_UNKNOWN
static