mightymandel v16

GPU-based Mandelbrot set explorer

fpxx_step.h File Reference

(v16)

#include <GL/glew.h>
#include <mpfr.h>
#include "mightymandel.h"
+ Include dependency graph for fpxx_step.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fpxx_step_orbit
struct  fpxx_step

Functions

void fpxx_step_begin (struct fpxx_step *s)
void fpxx_step_end (struct fpxx_step *s)
void fpxx_step_start (struct fpxx_step *s, GLuint vbo, double escaperadius2, const mpfr_t zx, const mpfr_t zy, const mpfr_t dzx, const mpfr_t dzy, const mpfr_t refx, const mpfr_t refy, bool initial_slice)
void fpxx_step_do (struct fpxx_step *s, GLuint *active_count, GLuint vbo, GLuint query)

Data Structure Documentation

struct fpxx_step_orbit

Definition at line 13 of file fpxx_step.h.

+ Collaboration diagram for fpxx_step_orbit:
Data Fields
GLuint buffer
struct fpxx_step_orbit * next
struct fpxx_step

Definition at line 18 of file fpxx_step.h.

+ Collaboration diagram for fpxx_step:
Data Fields
GLint cne0
struct fpxx_step_orbit * current
mpfr_t cx
mpfr_t cy
mpfr_t dzx
mpfr_t dzy
GLint er2
GLint err0
GLint escaped
struct fpxx_step_orbit * orbit
GLuint program
mpfr_t t1
mpfr_t t2
mpfr_t t3
mpfr_t t4
GLuint vao
GLint zdz0
GLint zdz0s
GLuint zdz0t
mpfr_t zx
mpfr_t zy

Function Documentation

void fpxx_step_begin ( struct fpxx_step s)

Definition at line 16 of file fpxx_step.c.

References fpxx_step::cne0, compile_program_tf(), fpxx_step::current, fpxx_step::cx, fpxx_step::cy, D, DE, fpxx_step::dzx, fpxx_step::dzy, fpxx_step::er2, fpxx_step::err0, fpxx_step::escaped, FPXX_STEP_ITERS, fpxx_step_varyings, fpxx_step_vert, fpxx_step::orbit, fpxx_step::program, fpxx_step::t1, fpxx_step::t2, fpxx_step::t3, fpxx_step::t4, TEX_ORBIT, fpxx_step::vao, fpxx_step::zdz0, fpxx_step::zdz0s, fpxx_step::zdz0t, fpxx_step::zx, and fpxx_step::zy.

Referenced by render_begin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void fpxx_step_do ( struct fpxx_step s,
GLuint *  active_count,
GLuint  vbo,
GLuint  query 
)

Definition at line 108 of file fpxx_step.c.

References fpxx_step_orbit::buffer, fpxx_step::current, fpxx_step::cx, fpxx_step::cy, D, DE, debug_message, fpxx_step::dzx, fpxx_step::dzy, fpxx_step::escaped, FPXX_STEP_ITERS, fpxx_u2(), fpxx_step_orbit::next, fpxx_step::orbit, fpxx_step::program, fpxx_step::t1, fpxx_step::t2, fpxx_step::t3, TEX_ORBIT, fpxx_step::vao, fpxx_step::zx, and fpxx_step::zy.

+ Here is the call graph for this function:

void fpxx_step_end ( struct fpxx_step s)

Definition at line 36 of file fpxx_step.c.

References fpxx_step::current, fpxx_step::cx, fpxx_step::cy, D, fpxx_step::dzx, fpxx_step::dzy, fpxx_step_orbit::next, fpxx_step::orbit, fpxx_step::program, fpxx_step::t1, fpxx_step::t2, fpxx_step::t3, fpxx_step::t4, fpxx_step::vao, fpxx_step::zdz0t, fpxx_step::zx, and fpxx_step::zy.

Referenced by render_end().

+ Here is the caller graph for this function:

void fpxx_step_start ( struct fpxx_step s,
GLuint  vbo,
double  escaperadius2,
const mpfr_t  zx,
const mpfr_t  zy,
const mpfr_t  dzx,
const mpfr_t  dzy,
const mpfr_t  refx,
const mpfr_t  refy,
bool  initial_slice 
)

Definition at line 55 of file fpxx_step.c.

References fpxx_step::cne0, fpxx_step::current, fpxx_step::cx, fpxx_step::cy, D, DE, debug_message, fpxx_step::dzx, fpxx_step::dzy, fpxx_step::er2, fpxx_step::err0, fpxx_step_orbit::next, fpxx_step::orbit, fpxx_step::program, fpxx_step::t1, fpxx_step::t2, fpxx_step::t3, fpxx_step::t4, TEX_ORBIT, fpxx_step::vao, fpxx_step::zdz0, fpxx_step::zdz0s, fpxx_step::zx, and fpxx_step::zy.

Referenced by fpxx_start().

+ Here is the caller graph for this function: