aboutsummaryrefslogtreecommitdiff
path: root/src/render_opencl.h
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-31 23:31:02 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-31 23:31:02 +0100
commit28006d5fa6af63a9bc2f274e7daf7a741eaacde5 (patch)
tree3090cdc8a6674273ddce83bb9f789b599ad442b3 /src/render_opencl.h
parent70d4ba8d3bfa3c5b219a8baf86d279adf5177d14 (diff)
parentf6ecdf87b278d62a7259bca573e81484ad9932f6 (diff)
Merge branch 'cl'
Diffstat (limited to 'src/render_opencl.h')
-rw-r--r--src/render_opencl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/render_opencl.h b/src/render_opencl.h
index 720678b..bca77ad 100644
--- a/src/render_opencl.h
+++ b/src/render_opencl.h
@@ -42,8 +42,8 @@ typedef struct config_opencl {
OpenCLConfig *config_opencl;
-d64 x_min, x_max, y_min, y_max;
-d64 x_min_s, x_max_s, y_min_s, y_max_s;
+cl_double x_min_cl, x_max_cl, y_min_cl, y_max_cl;
+cl_double x_min_s_cl, x_max_s_cl, y_min_s_cl, y_max_s_cl;
float cl_ft;
cl_uint *output;
@@ -58,10 +58,15 @@ cl_mem outputBuffer[MAX_DEVICES];
cl_int width_cl;
+int t_old_opencl;
+
d64 zoom_func(d64 ft, d64 s);
void init_opencl(OpenCLConfig *config);
void render_opencl(void);
void idle_opencl(void);
+void idle_opencl_dummy(void);
+void keyboard_opencl(unsigned char key, int mouseX, int mouseY);
+void mouse_opencl(int button, int state, int x, int y);
#endif /* RENDER_OPENCL_H_ */