Go to the source code of this file.
Classes | |
| struct | glmode_t | 
Macros | |
| #define | SCRAP_BLOCK_WIDTH 256 | 
| #define | SCRAP_BLOCK_HEIGHT 256 | 
| #define | Scrap_AllocBlock(w, h, s, t) GL_AllocBlock(SCRAP_BLOCK_WIDTH, SCRAP_BLOCK_HEIGHT, scrap_inuse, w, h, s, t) | 
Functions | |
| static int | GL_UpscaleLevel (int width, int height, imagetype_t type, imageflags_t flags) | 
| static void | GL_Upload32 (byte *data, int width, int height, int baselevel, imagetype_t type, imageflags_t flags) | 
| static void | GL_Upscale32 (byte *data, int width, int height, int maxlevel, imagetype_t type, imageflags_t flags) | 
| static void | GL_SetFilterAndRepeat (imagetype_t type, imageflags_t flags) | 
| static void | gl_texturemode_changed (cvar_t *self) | 
| static void | gl_texturemode_g (genctx_t *ctx) | 
| static void | gl_anisotropy_changed (cvar_t *self) | 
| static void | gl_bilerp_chars_changed (cvar_t *self) | 
| static void | gl_bilerp_pics_changed (cvar_t *self) | 
| static void | gl_texturebits_changed (cvar_t *self) | 
| static void | Scrap_Init (void) | 
| static void | Scrap_Shutdown (void) | 
| void | Scrap_Upload (void) | 
| static int | GL_GrayScaleTexture (byte *in, int inwidth, int inheight, imagetype_t type, imageflags_t flags) | 
| static void | GL_LightScaleTexture (byte *in, int inwidth, int inheight, imagetype_t type, imageflags_t flags) | 
| static void | GL_ColorInvertTexture (byte *in, int inwidth, int inheight, imagetype_t type, imageflags_t flags) | 
| static qboolean | GL_TextureHasAlpha (byte *data, int width, int height) | 
| static qboolean | GL_MakePowerOfTwo (int *width, int *height) | 
| void | IMG_Load_GL (image_t *image, byte *pic) | 
| void | IMG_Unload_GL (image_t *image) | 
| static void | GL_BuildIntensityTable (void) | 
| static void | GL_BuildGammaTables (void) | 
| static void | gl_gamma_changed (cvar_t *self) | 
| static void | GL_InitDefaultTexture (void) | 
| static void | GL_InitParticleTexture (void) | 
| static void | GL_InitWhiteImage (void) | 
| static void | GL_InitBeamTexture (void) | 
| void | GL_InitImages (void) | 
| void | GL_ShutdownImages (void) | 
Variables | |
| static int | gl_filter_min | 
| static int | gl_filter_max | 
| static float | gl_filter_anisotropy | 
| static int | gl_tex_alpha_format | 
| static int | gl_tex_solid_format | 
| static int | upload_width | 
| static int | upload_height | 
| static qboolean | upload_alpha | 
| static cvar_t * | gl_noscrap | 
| static cvar_t * | gl_round_down | 
| static cvar_t * | gl_picmip | 
| static cvar_t * | gl_downsample_skins | 
| static cvar_t * | gl_gamma_scale_pics | 
| static cvar_t * | gl_bilerp_chars | 
| static cvar_t * | gl_bilerp_pics | 
| static cvar_t * | gl_upscale_pcx | 
| static cvar_t * | gl_texturemode | 
| static cvar_t * | gl_texturebits | 
| static cvar_t * | gl_texture_non_power_of_two | 
| static cvar_t * | gl_anisotropy | 
| static cvar_t * | gl_saturation | 
| static cvar_t * | gl_intensity | 
| static cvar_t * | gl_gamma | 
| static cvar_t * | gl_invert | 
| static const glmode_t | filterModes [] | 
| static const int | numFilterModes = q_countof(filterModes) | 
| static int | scrap_inuse [SCRAP_BLOCK_WIDTH] | 
| static byte | scrap_data [SCRAP_BLOCK_WIDTH *SCRAP_BLOCK_HEIGHT *4] | 
| static qboolean | scrap_dirty | 
| static byte | gammatable [256] | 
| static byte | intensitytable [256] | 
| static byte | gammaintensitytable [256] | 
| static float | colorscale | 
| static const byte | dottexture [8][8] | 
| #define Scrap_AllocBlock | ( | w, | |
| h, | |||
| s, | |||
| t | |||
| ) | GL_AllocBlock(SCRAP_BLOCK_WIDTH, SCRAP_BLOCK_HEIGHT, scrap_inuse, w, h, s, t) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 731 of file images.c.
Referenced by GL_InitImages().
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 550 of file images.c.
Referenced by gl_anisotropy_changed(), gl_bilerp_chars_changed(), gl_bilerp_pics_changed(), GL_InitBeamTexture(), GL_InitDefaultTexture(), GL_InitParticleTexture(), GL_InitWhiteImage(), gl_texturemode_changed(), IMG_Load_GL(), and Scrap_Upload().
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 380 of file images.c.
Referenced by GL_InitBeamTexture(), GL_InitDefaultTexture(), GL_InitParticleTexture(), GL_InitWhiteImage(), GL_Upscale32(), IMG_Load_GL(), and Scrap_Upload().
      
  | 
  static | 
      
  | 
  static | 
Definition at line 247 of file images.c.
Referenced by GL_GrayScaleTexture(), and GL_InitImages().
      
  | 
  static | 
Definition at line 737 of file images.c.
Referenced by GL_InitDefaultTexture().
      
  | 
  static | 
Definition at line 60 of file images.c.
Referenced by gl_texturemode_changed(), and gl_texturemode_g().
      
  | 
  static | 
Definition at line 246 of file images.c.
Referenced by GL_BuildGammaTables(), and GL_LightScaleTexture().
      
  | 
  static | 
Definition at line 244 of file images.c.
Referenced by GL_BuildGammaTables(), gl_gamma_changed(), and GL_LightScaleTexture().
      
  | 
  static | 
Definition at line 44 of file images.c.
Referenced by GL_InitImages(), and GL_ShutdownImages().
      
  | 
  static | 
Definition at line 38 of file images.c.
Referenced by GL_InitImages(), GL_SetFilterAndRepeat(), and GL_ShutdownImages().
      
  | 
  static | 
Definition at line 39 of file images.c.
Referenced by GL_InitImages(), GL_SetFilterAndRepeat(), and GL_ShutdownImages().
      
  | 
  static | 
Definition at line 36 of file images.c.
Referenced by GL_InitImages(), and GL_Upload32().
      
  | 
  static | 
Definition at line 25 of file images.c.
Referenced by gl_anisotropy_changed(), and GL_SetFilterAndRepeat().
      
  | 
  static | 
Definition at line 24 of file images.c.
Referenced by GL_SetFilterAndRepeat(), and gl_texturemode_changed().
      
  | 
  static | 
Definition at line 23 of file images.c.
Referenced by GL_SetFilterAndRepeat(), and gl_texturemode_changed().
      
  | 
  static | 
Definition at line 47 of file images.c.
Referenced by GL_BuildGammaTables(), GL_InitImages(), and GL_ShutdownImages().
      
  | 
  static | 
Definition at line 37 of file images.c.
Referenced by GL_InitImages(), and GL_LightScaleTexture().
      
  | 
  static | 
Definition at line 46 of file images.c.
Referenced by GL_BuildIntensityTable(), and GL_InitImages().
      
  | 
  static | 
Definition at line 48 of file images.c.
Referenced by GL_ColorInvertTexture(), and GL_InitImages().
      
  | 
  static | 
Definition at line 33 of file images.c.
Referenced by GL_InitImages(), and IMG_Load_GL().
      
  | 
  static | 
Definition at line 35 of file images.c.
Referenced by GL_InitImages(), and GL_Upload32().
      
  | 
  static | 
Definition at line 34 of file images.c.
Referenced by GL_InitImages(), and GL_Upload32().
      
  | 
  static | 
Definition at line 45 of file images.c.
Referenced by GL_InitImages().
      
  | 
  static | 
Definition at line 26 of file images.c.
Referenced by gl_texturebits_changed(), and GL_Upload32().
      
  | 
  static | 
Definition at line 27 of file images.c.
Referenced by GL_GrayScaleTexture(), and gl_texturebits_changed().
      
  | 
  static | 
Definition at line 43 of file images.c.
Referenced by GL_InitImages(), and GL_MakePowerOfTwo().
      
  | 
  static | 
Definition at line 42 of file images.c.
Referenced by GL_InitImages().
      
  | 
  static | 
Definition at line 41 of file images.c.
Referenced by GL_InitImages(), and GL_ShutdownImages().
      
  | 
  static | 
Definition at line 40 of file images.c.
Referenced by GL_InitImages(), and GL_UpscaleLevel().
      
  | 
  static | 
Definition at line 245 of file images.c.
Referenced by GL_BuildGammaTables(), and GL_BuildIntensityTable().
      
  | 
  static | 
Definition at line 69 of file images.c.
Referenced by gl_texturemode_changed(), and gl_texturemode_g().
      
  | 
  static | 
Definition at line 197 of file images.c.
Referenced by IMG_Load_GL(), Scrap_Init(), and Scrap_Upload().
      
  | 
  static | 
Definition at line 198 of file images.c.
Referenced by IMG_Load_GL(), Scrap_Shutdown(), and Scrap_Upload().
      
  | 
  static | 
Definition at line 196 of file images.c.
Referenced by Scrap_Shutdown().
      
  | 
  static | 
Definition at line 31 of file images.c.
Referenced by GL_Upload32(), and IMG_Load_GL().
      
  | 
  static | 
Definition at line 30 of file images.c.
Referenced by GL_Upload32(), GL_Upscale32(), and IMG_Load_GL().
      
  | 
  static | 
Definition at line 29 of file images.c.
Referenced by GL_Upload32(), GL_Upscale32(), and IMG_Load_GL().