mightymandel v16

GPU-based Mandelbrot set explorer

fp32_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 FP32_INIT_H
6 #define FP32_INIT_H 1
7 
8 #include <GL/glew.h>
9 #include <mpfr.h>
10 
11 struct fp32_init {
12  GLuint program;
13  GLint radius;
14  GLint center;
15  GLint c;
16  GLuint vao;
17 };
18 
19 void fp32_init_begin(struct fp32_init *s);
20 void fp32_init_end(struct fp32_init *s);
21 void fp32_init_do(struct fp32_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