mightymandel v16

GPU-based Mandelbrot set explorer

fp32_fillc.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_FILLC_H
6 #define FP32_FILLC_H 1
7 
8 #include <GL/glew.h>
9 
10 struct fp32_fillc {
11  GLuint program;
12  GLint aspect;
13  GLint slice_offset;
14  GLint ida0;
15  GLint p;
16  GLuint vao;
17  GLuint vbo;
18 };
19 
20 void fp32_fillc_begin(struct fp32_fillc *s);
21 void fp32_fillc_end(struct fp32_fillc *s);
22 void fp32_fillc_do(struct fp32_fillc *s, GLuint vbo, GLuint fbo, GLuint tex, GLuint tex2, int width, int height, int pass, int slice, int slicex, int slicey);
23 
24 #endif