17 #ifndef __VIDEO_SHADER_PARSE_H 18 #define __VIDEO_SHADER_PARSE_H 29 #ifndef GFX_MAX_SHADERS 30 #define GFX_MAX_SHADERS 26 33 #ifndef GFX_MAX_TEXTURES 34 #define GFX_MAX_TEXTURES 8 37 #ifndef GFX_MAX_VARIABLES 38 #define GFX_MAX_VARIABLES 64 41 #ifndef GFX_MAX_PARAMETERS 42 #define GFX_MAX_PARAMETERS 128 45 #ifndef GFX_MAX_FRAME_HISTORY 46 #define GFX_MAX_FRAME_HISTORY 128 205 const char *ref_path);
246 const char *ext,
bool *is_preset);
GLenum GLenum variable
Definition: glext.h:9938
#define GFX_MAX_VARIABLES
Definition: video_shader_parse.h:38
bool video_shader_resolve_current_parameters(config_file_t *conf, struct video_shader *shader)
Definition: video_shader_parse.c:435
GLuint shader
Definition: glext.h:6670
bool feedback
Definition: video_shader_parse.h:129
unsigned frame_count_mod
Definition: video_shader_parse.h:128
struct video_shader_pass::@700 source
enum rarch_shader_type video_shader_get_type_from_ext(const char *ext, bool *is_preset)
Definition: video_shader_parse.c:1134
Definition: video_shader_parse.h:56
Definition: video_shader_parse.h:62
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Definition: video_shader_parse.h:80
float current
Definition: video_shader_parse.h:103
float scale_y
Definition: video_shader_parse.h:91
int pass
Definition: video_shader_parse.h:108
Definition: video_shader_parse.h:63
void video_shader_write_conf_cgp(config_file_t *conf, struct video_shader *shader)
Definition: video_shader_parse.c:952
char * fragment
Definition: video_shader_parse.h:119
GLsizei const GLchar ** path
Definition: glext.h:7901
Definition: video_shader_parse.h:69
bool video_shader_check_for_changes(void)
Definition: video_shader_parse.c:1343
enum rarch_shader_type video_shader_parse_type(const char *path, enum rarch_shader_type fallback)
Definition: video_shader_parse.c:1288
char script_path[PATH_MAX_LENGTH]
Definition: video_shader_parse.h:149
#define GFX_MAX_TEXTURES
Definition: video_shader_parse.h:34
enum gfx_wrap_type wrap
Definition: video_shader_parse.h:136
Definition: video_shader_parse.h:99
Definition: video_shader_parse.h:72
float scale_x
Definition: video_shader_parse.h:90
#define PATH_MAX_LENGTH
Definition: retro_miscellaneous.h:83
bool video_shader_is_supported(enum rarch_shader_type type)
Definition: video_shader_parse.c:1101
unsigned filter
Definition: video_shader_parse.h:127
Definition: video_shader_parse.h:143
int feedback_pass
Definition: video_shader_parse.h:161
unsigned abs_y
Definition: video_shader_parse.h:96
Definition: video_shader_parse.h:71
struct gfx_fbo_scale fbo
Definition: video_shader_parse.h:124
char desc[64]
Definition: video_shader_parse.h:102
gfx_scale_type
Definition: video_shader_parse.h:60
GLenum type
Definition: glext.h:6233
enum gfx_scale_type type_x
Definition: video_shader_parse.h:88
Definition: video_shader_parse.h:55
rarch_shader_type
Definition: video_shader_parse.h:50
char alias[64]
Definition: video_shader_parse.h:123
Definition: video_shader_parse.h:83
float initial
Definition: video_shader_parse.h:105
Definition: video_shader_parse.h:52
Definition: video_shader_parse.h:54
Definition: video_shader_parse.h:81
Definition: video_shader_parse.h:79
int history_size
Definition: video_shader_parse.h:162
enum rarch_shader_type type
Definition: video_shader_parse.h:145
Definition: video_shader_parse.h:86
struct video_shader_lut lut[GFX_MAX_TEXTURES]
Definition: video_shader_parse.h:166
float step
Definition: video_shader_parse.h:107
char * vertex
Definition: video_shader_parse.h:118
void video_shader_resolve_relative(struct video_shader *shader, const char *ref_path)
Definition: video_shader_parse.c:1307
Definition: video_shader_parse.h:57
unsigned passes
Definition: video_shader_parse.h:155
unsigned filter
Definition: video_shader_parse.h:138
Definition: video_shader_parse.h:132
Definition: video_shader_parse.h:53
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
enum gfx_wrap_type wrap
Definition: video_shader_parse.h:125
Definition: video_shader_parse.h:111
bool fp_fbo
Definition: video_shader_parse.h:92
bool modern
Definition: video_shader_parse.h:153
Definition: config_file.h:55
unsigned luts
Definition: video_shader_parse.h:156
Definition: video_shader_parse.h:82
Definition: video_shader_parse.h:70
char prefix[64]
Definition: video_shader_parse.h:147
bool video_shader_read_conf_cgp(config_file_t *conf, struct video_shader *shader)
Definition: video_shader_parse.c:718
float maximum
Definition: video_shader_parse.h:106
bool mipmap
Definition: video_shader_parse.h:137
bool video_shader_resolve_parameters(config_file_t *conf, struct video_shader *shader)
Definition: video_shader_parse.c:489
float minimum
Definition: video_shader_parse.h:104
unsigned abs_x
Definition: video_shader_parse.h:95
struct video_shader_pass::@700::@701 string
char * script
Definition: video_shader_parse.h:151
char script_class[512]
Definition: video_shader_parse.h:148
unsigned variables
Definition: video_shader_parse.h:158
struct video_shader_parameter parameters[GFX_MAX_PARAMETERS]
Definition: video_shader_parse.h:168
unsigned num_parameters
Definition: video_shader_parse.h:157
gfx_wrap_type
Definition: video_shader_parse.h:75
struct video_shader_pass pass[GFX_MAX_SHADERS]
Definition: video_shader_parse.h:164
#define GFX_MAX_PARAMETERS
Definition: video_shader_parse.h:42
#define GFX_MAX_SHADERS
Definition: video_shader_parse.h:30
enum gfx_scale_type type_y
Definition: video_shader_parse.h:89
Definition: video_state_tracker.h:45
bool srgb_fbo
Definition: video_shader_parse.h:93
bool video_shader_any_supported(void)
Definition: video_shader_parse.c:1122
bool mipmap
Definition: video_shader_parse.h:126
Definition: video_shader_parse.h:77
bool valid
Definition: video_shader_parse.h:94
Definition: video_shader_parse.h:64