/* * render.h * * Created on: 15.01.2018 * Author: Superleo1810 */ #ifndef RENDER_H_ #define RENDER_H_ #include "defs.h" #include "render_opencl.h" #include "render_cpu.h" #include #include "config.h" #include "creator.h" config_t *_config; u32 *s_arr; GLuint tex; d64 x_min, x_max, y_min, y_max; d64 x_min_s, x_max_s, y_min_s, y_max_s; float ft; int t_old; d64 zoom_func(d64 ft, d64 s); void (*_render)(d64 x_min, d64 y_min, d64 x_max, d64 y_max); void (*_idle)(void); void keyboard(unsigned char key, int mouseX, int mouseY); void mouse(int button, int state, int x, int y); void idle_dummy(void); void idle(void); void render(void); void init_render(config_t *config); void show_render(); #endif /* RENDER_H_ */