]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_textures.h
refactor timing, so that timing code is in sys_shared.c.
[xonotic/darkplaces.git] / r_textures.h
index bb603cffc7cb68a8c1685063bc9554bf87aeaf16..63c4769d04aa6f3ead83180c525c23288102d27f 100644 (file)
@@ -47,6 +47,8 @@ typedef enum textype_e
        TEXTYPE_DXT3,
        // 4x4 block compressed 15bit color plus 8bit alpha (8 bits per pixel)
        TEXTYPE_DXT5,
+       // this represents the same format as the framebuffer, for fast copies
+       TEXTYPE_COLORBUFFER,
 }
 textype_t;
 
@@ -85,6 +87,7 @@ extern cvar_t gl_texturecompression_q3bsplightmaps;
 extern cvar_t gl_texturecompression_q3bspdeluxemaps;
 extern cvar_t gl_texturecompression_sky;
 extern cvar_t gl_texturecompression_lightcubemaps;
+extern cvar_t gl_texturecompression_reflectmask;
 
 // add a texture to a pool and optionally precache (upload) it
 // (note: data == NULL is perfectly acceptable)