mightymandel v16

GPU-based Mandelbrot set explorer

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