RetroArch
Functions | Variables
menu_shader.c File Reference
#include <string.h>
#include <compat/strl.h>
#include <retro_assert.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include "menu_driver.h"
#include "menu_shader.h"
#include "../file_path_special.h"
#include "../configuration.h"
#include "../paths.h"
#include "../retroarch.h"
#include "../verbosity.h"
Include dependency graph for menu_shader.c:

Functions

struct video_shadermenu_shader_get (void)
 
void menu_shader_manager_decrement_amount_passes (void)
 
void menu_shader_manager_increment_amount_passes (void)
 
void menu_shader_manager_free (void)
 
bool menu_shader_manager_init (void)
 
bool menu_shader_manager_set_preset (void *data, unsigned type, const char *preset_path)
 
static const char * shader_get_preset_extension (unsigned type)
 
bool menu_shader_manager_save_preset (const char *basename, bool apply, bool fullpath)
 
int menu_shader_manager_clear_num_passes (void)
 
int menu_shader_manager_clear_parameter (unsigned i)
 
int menu_shader_manager_clear_pass_filter (unsigned i)
 
void menu_shader_manager_clear_pass_scale (unsigned i)
 
void menu_shader_manager_clear_pass_path (unsigned i)
 
unsigned menu_shader_manager_get_type (const void *data)
 
void menu_shader_manager_apply_changes (void)
 

Variables

static struct video_shadermenu_driver_shader = NULL
 

Function Documentation

◆ menu_shader_get()

struct video_shader* menu_shader_get ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_apply_changes()

void menu_shader_manager_apply_changes ( void  )

menu_shader_manager_apply_changes:

Apply shader state changes.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_clear_num_passes()

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

◆ menu_shader_manager_clear_parameter()

int menu_shader_manager_clear_parameter ( unsigned  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_clear_pass_filter()

int menu_shader_manager_clear_pass_filter ( unsigned  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_clear_pass_path()

void menu_shader_manager_clear_pass_path ( unsigned  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_clear_pass_scale()

void menu_shader_manager_clear_pass_scale ( unsigned  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_decrement_amount_passes()

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

◆ menu_shader_manager_free()

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

◆ menu_shader_manager_get_type()

unsigned menu_shader_manager_get_type ( const void data)

menu_shader_manager_get_type: : shader handle

Gets type of shader.

Returns: type of shader.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_increment_amount_passes()

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

◆ menu_shader_manager_init()

bool menu_shader_manager_init ( void  )

menu_shader_manager_init:

Initializes shader manager.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_save_preset()

bool menu_shader_manager_save_preset ( const char *  basename,
bool  apply,
bool  fullpath 
)

menu_shader_manager_save_preset: : basename of preset : immediately set preset after saving

Save a shader preset to disk.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_shader_manager_set_preset()

bool menu_shader_manager_set_preset ( void data,
unsigned  type,
const char *  preset_path 
)

menu_shader_manager_set_preset: : Shader handle. : Type of shader. : Preset path to load from.

Sets shader preset.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shader_get_preset_extension()

static const char* shader_get_preset_extension ( unsigned  type)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ menu_driver_shader

struct video_shader* menu_driver_shader = NULL
static