configure.ac add with-cuda/nv, update cakewalk theme, add cuda/plugins=mandel+nbody...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / mandelcuda / mandelcuda.h
1 #ifndef __MANDELCUDA_CUH__
2 #define __MANDELCUDA_CUH__
3
4 class MandelCuda
5 {
6 public:
7         MandelCuda();
8         ~MandelCuda();
9
10         void init_dev();
11         void Run(unsigned char *data, unsigned int size, int is_julia, int crunch,
12                 double x, double y, double jx, double jy, double scale,
13                 uchar4 color, int pass, int animationFrame);
14         void init(int pbo, int pw, int ph);
15         void finish();
16
17         int version, numSMs;
18         int pbo_id, pbo_w, pbo_h;
19         struct cudaGraphicsResource *cuda_pbo;
20         void *pbo_mem;
21 };
22
23 #endif