ReactOS 0.4.16-dev-297-gc569aee
|
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include "context.h"
#include "light.h"
#include "dlist.h"
#include "macros.h"
#include "matrix.h"
#include "mmath.h"
#include "types.h"
#include "vb.h"
#include "xform.h"
Go to the source code of this file.
Functions | |
void | gl_ShadeModel (GLcontext *ctx, GLenum mode) |
void | gl_Lightfv (GLcontext *ctx, GLenum light, GLenum pname, const GLfloat *params, GLint nparams) |
void | gl_GetLightfv (GLcontext *ctx, GLenum light, GLenum pname, GLfloat *params) |
void | gl_GetLightiv (GLcontext *ctx, GLenum light, GLenum pname, GLint *params) |
void | gl_LightModelfv (GLcontext *ctx, GLenum pname, const GLfloat *params) |
GLuint | gl_material_bitmask (GLenum face, GLenum pname) |
void | gl_set_material (GLcontext *ctx, GLuint bitmask, const GLfloat *params) |
void | gl_ColorMaterial (GLcontext *ctx, GLenum face, GLenum mode) |
void | gl_Materialfv (GLcontext *ctx, GLenum face, GLenum pname, const GLfloat *params) |
void | gl_GetMaterialfv (GLcontext *ctx, GLenum face, GLenum pname, GLfloat *params) |
void | gl_GetMaterialiv (GLcontext *ctx, GLenum face, GLenum pname, GLint *params) |
void | gl_compute_spot_exp_table (struct gl_light *l) |
void | gl_compute_material_shine_table (struct gl_material *m) |
void | gl_update_lighting (GLcontext *ctx) |
Definition at line 485 of file light.c.
Referenced by execute_list(), and init_exec_pointers().
void gl_compute_material_shine_table | ( | struct gl_material * | m | ) |
Definition at line 741 of file light.c.
Referenced by gl_set_material(), init_material(), and update_material().
Definition at line 710 of file light.c.
Referenced by gl_Lightfv(), and init_light().
Definition at line 211 of file light.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 260 of file light.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 563 of file light.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 610 of file light.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
void gl_Lightfv | ( | GLcontext * | ctx, |
GLenum | light, | ||
GLenum | pname, | ||
const GLfloat * | params, | ||
GLint | nparams | ||
) |
Definition at line 114 of file light.c.
Referenced by execute_list(), and init_exec_pointers().
Definition at line 327 of file light.c.
Referenced by execute_list(), and init_exec_pointers().
Definition at line 362 of file light.c.
Referenced by gl_ColorMaterial(), gl_Materialfv(), and initialize_context().
Definition at line 523 of file light.c.
Referenced by execute_list(), and init_exec_pointers().
Definition at line 413 of file light.c.
Referenced by gl_ArrayElement(), gl_ColorMat3f(), gl_ColorMat3fv(), gl_ColorMat4f(), gl_ColorMat4fv(), gl_ColorMat4ub(), gl_enable(), gl_eval_vertex(), and gl_Materialfv().
Definition at line 92 of file light.c.
Referenced by execute_list(), and init_exec_pointers().
Definition at line 770 of file light.c.
Referenced by gl_reset_vb(), and gl_update_state().