From 1c3ea27064257d8cf7b9f36b0388b8cf2e94ab08 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Fri, 26 Jan 2018 01:12:49 +0100 Subject: Skeleton for OpenCL rendering, cleaned up alot, WIP and crashing --- .cproject | 16 +- .settings/language.settings.xml | 4 +- .settings/org.eclipse.cdt.core.prefs | 12 -- .../org.eclipse.cdt.managedbuilder.core.prefs | 2 +- Release/coords.txt | 2 + Release/glade/settings.glade | 213 +++++++++++++++++---- src/defs.h | 6 + src/mandelbrot-zoom.c | 37 +++- src/mandelbrot-zoom.h | 2 + src/mandelbrot.cl | 6 + src/render.c | 108 ++--------- src/render.h | 46 +---- src/render_cpu.c | 86 +++++++++ src/render_cpu.h | 58 ++++++ src/render_opencl.c | 26 +++ src/render_opencl.h | 35 ++++ src/sets.c | 14 +- src/sets.h | 8 +- 18 files changed, 481 insertions(+), 200 deletions(-) create mode 100644 Release/coords.txt create mode 100644 src/mandelbrot.cl create mode 100644 src/render_cpu.c create mode 100644 src/render_cpu.h create mode 100644 src/render_opencl.c create mode 100644 src/render_opencl.h diff --git a/.cproject b/.cproject index d36d38e..c515ae5 100644 --- a/.cproject +++ b/.cproject @@ -3,6 +3,9 @@ + + + @@ -61,6 +64,7 @@ + @@ -84,11 +88,13 @@ + @@ -147,6 +153,9 @@ + + + @@ -182,6 +191,7 @@ +