mightymandel v16

GPU-based Mandelbrot set explorer

fp32_step.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 FP32_STEP_H
6 #define FP32_STEP_H 1
7 
8 #include <GL/glew.h>
9 
10 struct fp32_step {
11  GLuint program;
12  GLint er2;
13  GLint cne0;
14  GLint zdz0;
15  GLuint vao;
16 };
17 
18 void fp32_step_begin(struct fp32_step *s);
19 void fp32_step_end(struct fp32_step *s);
20 void fp32_step_start(struct fp32_step *s, GLuint vbo, double escaperadius2);
21 void fp32_step_do(struct fp32_step *s, GLuint *active_count, GLuint vbo, GLuint query);
22 
23 #endif