37a492d00d
Clang Lint CI / lint-no-video (push) Successful in 1m5s
Clang Build CI / run-no-video (push) Successful in 1m5s
Clang Build CI / run-video (push) Successful in 1m5s
Clang Build CI / build-release (push) Successful in 2m24s
Clang Lint CI / lint-video (push) Successful in 2m22s
32 lines
1000 B
C
32 lines
1000 B
C
#include "types.h"
|
|
|
|
#ifndef SHADERS_H
|
|
#define SHADERS_H
|
|
|
|
void shaders_init(ShaderProgram *program, const Project *project,
|
|
const Context *context, bool rebind);
|
|
|
|
#ifdef VIDEO_IN
|
|
|
|
void shaders_relink_input(ShaderProgram *program, const Project *project,
|
|
VideoCaptureArray *inputs, unsigned int i);
|
|
|
|
void shaders_link_inputs(ShaderProgram *program, const Project *project,
|
|
VideoCaptureArray *inputs, unsigned int buffer_count);
|
|
|
|
void shaders_free_input(ShaderProgram *program, unsigned int input_index);
|
|
|
|
#endif /* VIDEO_IN */
|
|
|
|
void shaders_update(ShaderProgram *program, const File *fragment_shader,
|
|
unsigned int i, const Project *project);
|
|
|
|
void shaders_compute(ShaderProgram *program, const Context *context,
|
|
bool monitor, bool output_only);
|
|
|
|
void shaders_free(const ShaderProgram *program);
|
|
|
|
void shaders_free_window(const ShaderProgram *program, bool secondary);
|
|
|
|
#endif /* SHADERS_H */
|