From c8a38bd8ad66eb0b35f08a4733fdee37a888b83c Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Sat, 27 Jan 2018 02:03:31 +0100 Subject: OpenCL rendering added, not working properly --- .cproject | 12 +- .settings/org.eclipse.cdt.core.prefs | 163 +++++++++++++++++++++ .settings/org.eclipse.cdt.ui.prefs | 3 + Release/cl/mandelbrot32.cl | 199 +++++++++++++++++++++++++ Release/cl/mandelbrot64.cl | 230 +++++++++++++++++++++++++++++ Release/glade/settings.glade | 73 +++++++-- src/cl/mandelbrot32.cl | 196 +++++++++++++++++++++++++ src/cl/mandelbrot64.cl | 230 +++++++++++++++++++++++++++++ src/defs.h | 2 + src/mandelbrot-zoom.c | 95 ++++++------ src/mandelbrot-zoom.h | 3 + src/mandelbrot.cl | 6 - src/render.c | 34 +++-- src/render.h | 6 +- src/render_cpu.c | 36 ++--- src/render_cpu.h | 9 +- src/render_opencl.c | 277 ++++++++++++++++++++++++++++++++++- src/render_opencl.h | 42 +++++- src/sets.h | 8 + 19 files changed, 1516 insertions(+), 108 deletions(-) create mode 100644 .settings/org.eclipse.cdt.ui.prefs create mode 100644 Release/cl/mandelbrot32.cl create mode 100644 Release/cl/mandelbrot64.cl create mode 100644 src/cl/mandelbrot32.cl create mode 100644 src/cl/mandelbrot64.cl delete mode 100644 src/mandelbrot.cl diff --git a/.cproject b/.cproject index 78a622f..6b038e1 100644 --- a/.cproject +++ b/.cproject @@ -34,6 +34,9 @@ @@ -66,6 +67,8 @@ + +