#include "main/glheader.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/macros.h"
#include "main/texenv.h"
#include "main/texstate.h"
Defines | |
#define | TE_ERROR(errCode, msg, value) _mesa_error(ctx, errCode, msg, _mesa_lookup_enum_by_nr(value)); |
Functions | |
static void | set_env_mode (GLcontext *ctx, struct gl_texture_unit *texUnit, GLenum mode) |
Set texture env mode. | |
static void | set_env_color (GLcontext *ctx, struct gl_texture_unit *texUnit, const GLfloat *color) |
static void | set_combiner_mode (GLcontext *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum mode) |
Set an RGB or A combiner mode/function. | |
static void | set_combiner_source (GLcontext *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) |
Set an RGB or A combiner source term. | |
static void | set_combiner_operand (GLcontext *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) |
Set an RGB or A combiner operand term. | |
static void | set_combiner_scale (GLcontext *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLfloat scale) |
void GLAPIENTRY | _mesa_TexEnvfv (GLenum target, GLenum pname, const GLfloat *param) |
void GLAPIENTRY | _mesa_TexEnvf (GLenum target, GLenum pname, GLfloat param) |
void GLAPIENTRY | _mesa_TexEnvi (GLenum target, GLenum pname, GLint param) |
void GLAPIENTRY | _mesa_TexEnviv (GLenum target, GLenum pname, const GLint *param) |
static GLint | get_texenvi (GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum pname) |
Helper for glGetTexEnvi/f(). | |
void GLAPIENTRY | _mesa_GetTexEnvfv (GLenum target, GLenum pname, GLfloat *params) |
void GLAPIENTRY | _mesa_GetTexEnviv (GLenum target, GLenum pname, GLint *params) |
void GLAPIENTRY | _mesa_TexBumpParameterivATI (GLenum pname, const GLint *param) |
Why does ATI_envmap_bumpmap require new entrypoints? Should just reuse TexEnv ones. | |
void GLAPIENTRY | _mesa_TexBumpParameterfvATI (GLenum pname, const GLfloat *param) |
void GLAPIENTRY | _mesa_GetTexBumpParameterivATI (GLenum pname, GLint *param) |
void GLAPIENTRY | _mesa_GetTexBumpParameterfvATI (GLenum pname, GLfloat *param) |
#define TE_ERROR | ( | errCode, | |||
msg, | |||||
value | ) | _mesa_error(ctx, errCode, msg, _mesa_lookup_enum_by_nr(value)); |
void GLAPIENTRY _mesa_GetTexBumpParameterfvATI | ( | GLenum | pname, | |
GLfloat * | param | |||
) |
void GLAPIENTRY _mesa_GetTexBumpParameterivATI | ( | GLenum | pname, | |
GLint * | param | |||
) |
void GLAPIENTRY _mesa_GetTexEnvfv | ( | GLenum | target, | |
GLenum | pname, | |||
GLfloat * | params | |||
) |
void GLAPIENTRY _mesa_GetTexEnviv | ( | GLenum | target, | |
GLenum | pname, | |||
GLint * | params | |||
) |
void GLAPIENTRY _mesa_TexBumpParameterfvATI | ( | GLenum | pname, | |
const GLfloat * | param | |||
) |
void GLAPIENTRY _mesa_TexBumpParameterivATI | ( | GLenum | pname, | |
const GLint * | param | |||
) |
Why does ATI_envmap_bumpmap require new entrypoints? Should just reuse TexEnv ones.
..
void GLAPIENTRY _mesa_TexEnvf | ( | GLenum | target, | |
GLenum | pname, | |||
GLfloat | param | |||
) |
void GLAPIENTRY _mesa_TexEnvfv | ( | GLenum | target, | |
GLenum | pname, | |||
const GLfloat * | param | |||
) |
void GLAPIENTRY _mesa_TexEnvi | ( | GLenum | target, | |
GLenum | pname, | |||
GLint | param | |||
) |
void GLAPIENTRY _mesa_TexEnviv | ( | GLenum | target, | |
GLenum | pname, | |||
const GLint * | param | |||
) |
static GLint get_texenvi | ( | GLcontext * | ctx, | |
const struct gl_texture_unit * | texUnit, | |||
GLenum | pname | |||
) | [static] |
Helper for glGetTexEnvi/f().
static void set_combiner_mode | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
GLenum | pname, | |||
GLenum | mode | |||
) | [static] |
Set an RGB or A combiner mode/function.
static void set_combiner_operand | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
GLenum | pname, | |||
GLenum | param | |||
) | [static] |
Set an RGB or A combiner operand term.
static void set_combiner_scale | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
GLenum | pname, | |||
GLfloat | scale | |||
) | [static] |
static void set_combiner_source | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
GLenum | pname, | |||
GLenum | param | |||
) | [static] |
Set an RGB or A combiner source term.
static void set_env_color | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
const GLfloat * | color | |||
) | [static] |
static void set_env_mode | ( | GLcontext * | ctx, | |
struct gl_texture_unit * | texUnit, | |||
GLenum | mode | |||
) | [static] |
Set texture env mode.