mightymandel v16

GPU-based Mandelbrot set explorer

texture.h File Reference

(v16)

OpenGL texture unit semantics. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TEX_RGB   0
 Colourized image, RGB 8ui with mipmaps, width * height.
#define TEX_RAW   1
 Raw image, (i,d,a,e) 32f, width * height.
#define TEX_FILLC   2
 Used by fillc, (x,y,i,e) 32f, (width >> slice) * (height >> slice).
#define TEX_ORBIT   3
 Reference orbit, (re1,re2,im1,im2) 32ui (packed doubles), FPXX_STEP_ITERS * (DE ? 2 : 1).
#define TEX_SLICE_NUMBER   4
 Slice coordinates to slice number, (n) 16ui, mipmaps (for texelFetch), (1 << SLICE_MAX) * (1 << SLICE_MAX).
#define TEX_SLICE_COORDS   5
 Slice number to slice coordinates, (i,j) 8ui, mipmaps (for texelFetch), (1 << SLICE_MAX) * (1 << SLICE_MAX).

Detailed Description

OpenGL texture unit semantics.

Definition in file texture.h.

Macro Definition Documentation

#define TEX_FILLC   2

Used by fillc, (x,y,i,e) 32f, (width >> slice) * (height >> slice).

Definition at line 26 of file texture.h.

Referenced by render_begin(), and render_reshape().

#define TEX_ORBIT   3

Reference orbit, (re1,re2,im1,im2) 32ui (packed doubles), FPXX_STEP_ITERS * (DE ? 2 : 1).

Definition at line 31 of file texture.h.

Referenced by fpxx_step_begin(), fpxx_step_do(), and fpxx_step_start().

#define TEX_RAW   1

Raw image, (i,d,a,e) 32f, width * height.

Definition at line 21 of file texture.h.

Referenced by fp32_colour_begin(), fp32_fillc_do(), image_get_glitched(), image_get_iterations(), image_result(), render_begin(), and render_reshape().

#define TEX_RGB   0

Colourized image, RGB 8ui with mipmaps, width * height.

Definition at line 16 of file texture.h.

Referenced by fp32_colour_begin(), fp32_colour_do(), record_do(), render_begin(), and render_reshape().

#define TEX_SLICE_COORDS   5

Slice number to slice coordinates, (i,j) 8ui, mipmaps (for texelFetch), (1 << SLICE_MAX) * (1 << SLICE_MAX).

Definition at line 41 of file texture.h.

Referenced by fp32_colour_begin(), slice_table_delete(), and slice_table_new().

#define TEX_SLICE_NUMBER   4

Slice coordinates to slice number, (n) 16ui, mipmaps (for texelFetch), (1 << SLICE_MAX) * (1 << SLICE_MAX).

Definition at line 36 of file texture.h.

Referenced by fp32_colour_begin(), slice_table_delete(), and slice_table_new().