#include <math.h>#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include "fpxx_approx.h"#include "shader.h"#include "logging.h"#include "utility.h"#include "mightymandel.h"#include "texture.h"
Include dependency graph for fpxx_approx.c:Go to the source code of this file.
Macros | |
| #define | VARS c.x, c.y, c2.x, c2.y, c3.x, c3.y, z.x, z.y, dz.x, dz.y, t.x, t.y, t0, t1, t2, t3 |
Functions | |
| void | fpxx_approx_begin (struct fpxx_approx *s) |
| void | fpxx_approx_end (struct fpxx_approx *s) |
| void | fpxx_approx_do (struct fpxx_approx *s, GLuint *active_count, GLuint *vbo, GLuint query, mpfr_t zx, mpfr_t zy, mpfr_t dzx, mpfr_t dzy, int pass, const mpfr_t radius, const mpfr_t refx, const mpfr_t refy, bool series_approx, bool initial_slice, void *abort_data, abort_t abort_fn) |
Variables | |
| const char * | fpxx_approx_vert |
| const GLchar * | fpxx_approx_varyings [] = {"cne", "zdz", "err"} |
| #define VARS c.x, c.y, c2.x, c2.y, c3.x, c3.y, z.x, z.y, dz.x, dz.y, t.x, t.y, t0, t1, t2, t3 |
| void fpxx_approx_begin | ( | struct fpxx_approx * | s | ) |
Definition at line 20 of file fpxx_approx.c.
References fpxx_approx::a, fpxx_approx::a2, fpxx_approx::b, fpxx_approx::b2, fpxx_approx::c, fpxx_approx::c0, fpxx_approx::c2, compile_program_tf(), D, fpxx_approx::delta4, fpxx_approx_varyings, fpxx_approx_vert, fpxx_approx::iters, fpxx_approx::p, fpxx_approx::program, fpxx_approx::t1, fpxx_approx::t2, fpxx_approx::t3, fpxx_approx::t4, fpxx_approx::t5, fpxx_approx::t6, fpxx_approx::u, fpxx_approx::u2, fpxx_approx::v, fpxx_approx::v2, fpxx_approx::vao, fpxx_approx::w, fpxx_approx::w2, C::x, C::y, fpxx_approx::z, and fpxx_approx::z2.
Referenced by render_begin().
Here is the call graph for this function:
Here is the caller graph for this function:| void fpxx_approx_do | ( | struct fpxx_approx * | s, |
| GLuint * | active_count, | ||
| GLuint * | vbo, | ||
| GLuint | query, | ||
| mpfr_t | zx, | ||
| mpfr_t | zy, | ||
| mpfr_t | dzx, | ||
| mpfr_t | dzy, | ||
| int | pass, | ||
| const mpfr_t | radius, | ||
| const mpfr_t | refx, | ||
| const mpfr_t | refy, | ||
| bool | series_approx, | ||
| bool | initial_slice, | ||
| void * | abort_data, | ||
| abort_t | abort_fn | ||
| ) |
Definition at line 52 of file fpxx_approx.c.
References fpxx_approx::a, fpxx_approx::a2, fpxx_approx::abcuvw, fpxx_approx::b, fpxx_approx::b2, fpxx_approx::c, fpxx_approx::c0, fpxx_approx::c2, c_add, c_mag2, c_mul, c_mul_2ui, c_set, c_set_prec, c_sqr, D, DE, debug_message, fpxx_approx::delta4, fpxx_approx::iters, LOG_ERROR, LOG_INFO, log_message, LOG_WARN, fpxx_approx::n, fpxx_approx::p, fpxx_approx::program, fpxx_approx::t1, fpxx_approx::t2, fpxx_approx::t3, fpxx_approx::t4, fpxx_approx::t5, fpxx_approx::t6, fpxx_approx::too_deep, fpxx_approx::u, fpxx_approx::u2, fpxx_approx::v, fpxx_approx::v2, fpxx_approx::values, fpxx_approx::vao, VARS, fpxx_approx::w, fpxx_approx::w2, C::x, C::y, fpxx_approx::z, and fpxx_approx::z2.
Referenced by fpxx_start().
Here is the caller graph for this function:| void fpxx_approx_end | ( | struct fpxx_approx * | s | ) |
Definition at line 37 of file fpxx_approx.c.
References fpxx_approx::a, fpxx_approx::a2, fpxx_approx::b, fpxx_approx::b2, fpxx_approx::c, fpxx_approx::c2, D, fpxx_approx::delta4, fpxx_approx::p, fpxx_approx::program, fpxx_approx::t1, fpxx_approx::t2, fpxx_approx::t3, fpxx_approx::t4, fpxx_approx::t5, fpxx_approx::t6, fpxx_approx::u, fpxx_approx::u2, fpxx_approx::v, fpxx_approx::v2, fpxx_approx::vao, fpxx_approx::w, fpxx_approx::w2, C::x, C::y, fpxx_approx::z, and fpxx_approx::z2.
Referenced by render_end().
Here is the caller graph for this function:| const GLchar* fpxx_approx_varyings[] = {"cne", "zdz", "err"} |
Definition at line 18 of file fpxx_approx.c.
Referenced by fpxx_approx_begin().
| const char* fpxx_approx_vert |
Referenced by fpxx_approx_begin().