This template file is used by texformat.c to generate texel fetch functions for 1-D, 2-D and 3-D texture images.
It should be expanded by defining DIM
as the number texture dimensions (1, 2 or 3). According to the value of DIM
a series of macros is defined for the texel lookup in the gl_texture_image::Data.
Functions | |
static void FETCH() | f_rgba (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_alpha (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance_alpha (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_intensity (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_z32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_z16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_alpha_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_alpha_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance_alpha_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_luminance_alpha_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_intensity_f32 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_intensity_f16 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba8888 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba8888_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb8888 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb8888_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb888 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_bgr888 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb565 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb565_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba4444 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb4444 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb4444_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgba5551 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb1555 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_argb1555_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_al88 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_al88_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_rgb332 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_a8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_l8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_i8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_ci8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | dudv8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | signed_rgba8888 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | signed_rgba8888_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_ycbcr (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_ycbcr_rev (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_z24_s8 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() | f_s8_z24 (const struct gl_texture_image *texImage, GLint i, GLint j, GLint k, GLfloat *texel) |
static void FETCH() dudv8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_a8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_al88 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_al88_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_alpha | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_alpha_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_alpha_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb1555 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb1555_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb4444 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb4444_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb8888 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_argb8888_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_bgr888 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_ci8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_i8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_intensity | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_intensity_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_intensity_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_l8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance_alpha | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance_alpha_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance_alpha_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_luminance_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb332 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb565 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb565_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb888 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgb_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba4444 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba5551 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba8888 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba8888_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba_f16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_rgba_f32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_s8_z24 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_ycbcr | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_ycbcr_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_z16 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_z24_s8 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() f_z32 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() signed_rgba8888 | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |
static void FETCH() signed_rgba8888_rev | ( | const struct gl_texture_image * | texImage, | |
GLint | i, | |||
GLint | j, | |||
GLint | k, | |||
GLfloat * | texel | |||
) | [static] |