ReactOS 0.4.16-dev-297-gc569aee
|
#include <math.h>
#include <stdlib.h>
#include "context.h"
#include "macros.h"
#include "mmath.h"
#include "pb.h"
#include "texture.h"
#include "types.h"
Go to the source code of this file.
Macros | |
#define | frac(x) ((GLfloat)(x)-floor((GLfloat)x)) |
#define | PROD(A, B) (((GLint)(A) * ((GLint)(B)+1)) >> 8) |
|
static |
Definition at line 1396 of file texture.c.
Referenced by gl_texture_pixels().
|
static |
Definition at line 372 of file texture.c.
Referenced by sample_1d_linear().
|
static |
Definition at line 782 of file texture.c.
Referenced by sample_2d_linear().
void gl_set_texture_sampler | ( | struct gl_texture_object * | t | ) |
Definition at line 1319 of file texture.c.
Referenced by gl_update_texture_state().
void gl_texgen | ( | GLcontext * | ctx, |
GLint | n, | ||
GLfloat | obj[][4], | ||
GLfloat | eye[][4], | ||
GLfloat | normal[][3], | ||
GLfloat | texcoord[][4] | ||
) |
Definition at line 163 of file texture.c.
Referenced by gl_transform_vb_part2().
void gl_texture_pixels | ( | GLcontext * | ctx, |
GLuint | n, | ||
const GLfloat | s[], | ||
const GLfloat | t[], | ||
const GLfloat | r[], | ||
const GLfloat | lambda[], | ||
GLubyte | red[], | ||
GLubyte | green[], | ||
GLubyte | blue[], | ||
GLubyte | alpha[] | ||
) |
Definition at line 1678 of file texture.c.
Referenced by gl_flush_pb(), and gl_write_texture_span().
|
static |
Definition at line 1246 of file texture.c.
Referenced by gl_set_texture_sampler().
|
static |
Definition at line 1281 of file texture.c.
Referenced by gl_set_texture_sampler().
|
static |
Definition at line 316 of file texture.c.
Referenced by get_1d_texel(), get_2d_texel(), sample_1d_nearest(), and sample_2d_nearest().
|
static |
Definition at line 500 of file texture.c.
Referenced by sample_1d_linear_mipmap_linear(), sample_1d_linear_mipmap_nearest(), sample_lambda_1d(), and sample_linear_1d().
|
static |
Definition at line 646 of file texture.c.
Referenced by sample_lambda_1d().
|
static |
Definition at line 592 of file texture.c.
Referenced by sample_lambda_1d().
|
static |
Definition at line 428 of file texture.c.
Referenced by sample_1d_nearest_mipmap_linear(), sample_1d_nearest_mipmap_nearest(), sample_lambda_1d(), and sample_nearest_1d().
|
static |
Definition at line 615 of file texture.c.
Referenced by sample_lambda_1d().
|
static |
Definition at line 570 of file texture.c.
Referenced by sample_lambda_1d().
|
static |
Definition at line 928 of file texture.c.
Referenced by sample_2d_linear_mipmap_linear(), sample_2d_linear_mipmap_nearest(), sample_lambda_2d(), and sample_linear_2d().
|
static |
Definition at line 1117 of file texture.c.
Referenced by sample_lambda_2d().
|
static |
Definition at line 1063 of file texture.c.
Referenced by sample_lambda_2d().
|
static |
Definition at line 838 of file texture.c.
Referenced by sample_2d_nearest_mipmap_linear(), sample_2d_nearest_mipmap_nearest(), sample_lambda_2d(), and sample_nearest_2d().
|
static |
Definition at line 1086 of file texture.c.
Referenced by sample_lambda_2d().
|
static |
Definition at line 1040 of file texture.c.
Referenced by sample_lambda_2d().
|
static |
Definition at line 710 of file texture.c.
Referenced by gl_set_texture_sampler().
|
static |
Definition at line 1180 of file texture.c.
Referenced by gl_set_texture_sampler().