#include "gl.h"
Go to the source code of this file.
Macros | |
#define | FACE_HASH_BITS 5 |
#define | FACE_HASH_SIZE (1 << FACE_HASH_BITS) |
#define | FACE_HASH_MASK (FACE_HASH_SIZE - 1) |
#define | PARTICLE_SIZE (1 + M_SQRT1_2) |
#define | PARTICLE_SCALE (1 / (2 * PARTICLE_SIZE)) |
Functions | |
void | GL_Flush2D (void) |
void | GL_DrawParticles (void) |
void | GL_DrawBeams (void) |
void | GL_BindArrays (void) |
void | GL_Flush3D (void) |
static int | GL_CopyVerts (mface_t *surf) |
static int | GL_TextureAnimation (mtexinfo_t *tex) |
void | GL_DrawFace (mface_t *surf) |
static void | GL_DrawChain (mface_t **head) |
void | GL_ClearSolidFaces (void) |
void | GL_DrawSolidFaces (void) |
void | GL_DrawAlphaFaces (void) |
void | GL_AddSolidFace (mface_t *face) |
void | GL_AddAlphaFace (mface_t *face) |
Variables | |
tesselator_t | tess |
static mface_t * | faces_head [FACE_HASH_SIZE] |
static mface_t ** | faces_next [FACE_HASH_SIZE] |
static mface_t * | faces_alpha |
#define FACE_HASH_MASK (FACE_HASH_SIZE - 1) |
#define FACE_HASH_SIZE (1 << FACE_HASH_BITS) |
#define PARTICLE_SCALE (1 / (2 * PARTICLE_SIZE)) |
void GL_AddAlphaFace | ( | mface_t * | face | ) |
Definition at line 476 of file tess.c.
Referenced by GL_DrawBspModel(), and GL_DrawNode().
void GL_AddSolidFace | ( | mface_t * | face | ) |
Definition at line 255 of file tess.c.
Referenced by GL_DrawAlphaFaces(), GL_DrawBspModel(), and GL_DrawWorld().
|
static |
|
inlinestatic |
void GL_DrawFace | ( | mface_t * | surf | ) |
Definition at line 367 of file tess.c.
Referenced by GL_DrawBspModel(), GL_DrawChain(), and GL_DrawNode().
Definition at line 31 of file tess.c.
Referenced by _GL_StretchPic(), R_EndFrame_GL(), R_RenderFrame_GL(), R_SetClipRect_GL(), and R_SetScale_GL().
Definition at line 284 of file tess.c.
Referenced by GL_CopyVerts(), GL_DrawAlphaFaces(), GL_DrawBspModel(), GL_DrawFace(), and GL_DrawWorld().
|
static |
|
static |
Definition at line 29 of file tess.c.
Referenced by GL_AddAlphaFace(), and GL_DrawAlphaFaces().
|
static |
Definition at line 27 of file tess.c.
Referenced by GL_ClearSolidFaces(), and GL_DrawSolidFaces().
|
static |
Definition at line 28 of file tess.c.
Referenced by GL_AddSolidFace(), and GL_ClearSolidFaces().
tesselator_t tess |
Definition at line 21 of file tess.c.
Referenced by _GL_StretchPic(), draw_alias_mesh(), GL_BindArrays(), GL_CopyVerts(), GL_DrawBeams(), GL_DrawFace(), GL_DrawParticles(), GL_Flush2D(), GL_Flush3D(), tess_lerped_plain(), tess_lerped_shade(), tess_lerped_shell(), tess_static_plain(), tess_static_shade(), tess_static_shell(), upload_surface_vbo(), and upload_world_surfaces().