diff options
author | Leonard Kugis <leonardkugis@gmail.com> | 2018-02-01 01:27:30 +0100 |
---|---|---|
committer | Leonard Kugis <leonardkugis@gmail.com> | 2018-02-01 01:27:30 +0100 |
commit | 18e5b2554b4cd73207e936e76e32c9d376cd1ba8 (patch) | |
tree | 917dba471db5b3c40c78f247a601e8db2d73056b /src/render_opencl.h | |
parent | be4f2582062196dd6ecf393f55566367bc1dfa9f (diff) |
abstracted rendering, cpu currently crashing randomly while zooming
Diffstat (limited to 'src/render_opencl.h')
-rw-r--r-- | src/render_opencl.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/render_opencl.h b/src/render_opencl.h index 51945d5..9bfb4de 100644 --- a/src/render_opencl.h +++ b/src/render_opencl.h @@ -25,10 +25,6 @@ config_t *config_opencl; -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; cl_device_id device_id; cl_context context; @@ -41,15 +37,10 @@ cl_mem outputBuffer[MAX_DEVICES]; cl_int width_cl; -int t_old_opencl; - d64 zoom_func(d64 ft, d64 s); void init_opencl(config_t *cfg); -void render_opencl(void); +void render_opencl(d64 x_min, d64 y_min, d64 x_max, d64 y_max); 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_ */ |