configure.ac add with-cuda/nv, update cakewalk theme, add cuda/plugins=mandel+nbody...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / mandelcuda / mandelcuda.h
diff --git a/cinelerra-5.1/plugins/mandelcuda/mandelcuda.h b/cinelerra-5.1/plugins/mandelcuda/mandelcuda.h
new file mode 100644 (file)
index 0000000..3fc9c48
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef __MANDELCUDA_CUH__
+#define __MANDELCUDA_CUH__
+
+class MandelCuda
+{
+public:
+       MandelCuda();
+       ~MandelCuda();
+
+       void init_dev();
+       void Run(unsigned char *data, unsigned int size, int is_julia, int crunch,
+               double x, double y, double jx, double jy, double scale,
+               uchar4 color, int pass, int animationFrame);
+       void init(int pbo, int pw, int ph);
+       void finish();
+
+       int version, numSMs;
+       int pbo_id, pbo_w, pbo_h;
+       struct cudaGraphicsResource *cuda_pbo;
+       void *pbo_mem;
+};
+
+#endif