mightymandel v16

GPU-based Mandelbrot set explorer

fp64_init.h
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 #ifndef FP64_INIT_H
6 #define FP64_INIT_H 1
7 
8 #include <GL/glew.h>
9 #include <mpfr.h>
10 
11 struct fp64_init {
12  GLuint program;
13  GLint radius;
14  GLint center;
15  GLint c;
16  GLuint vao;
17 };
18 
19 void fp64_init_begin(struct fp64_init *s);
20 void fp64_init_end(struct fp64_init *s);
21 void fp64_init_do(struct fp64_init *s, GLuint *active_count, GLuint *vbo, GLuint query, int width, int height, const mpfr_t centerx, const mpfr_t centery, const mpfr_t radius);
22 
23 #endif