]> icculus.org git repositories - divverent/darkplaces.git/commit
mdl skin loading is now more memory-efficient (now stores the original
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 Dec 2009 15:27:09 +0000 (15:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 7 Dec 2009 15:27:09 +0000 (15:27 +0000)
commitfae52291efa344ad98f83a13308ffa5dd583a11e
treeb6beff8eabe8b501fc47f87bc6a90bd4617f528f
parent3478ab0718d5250c9043aedc4549a808698a1aeb
mdl skin loading is now more memory-efficient (now stores the original
pixels and uploads textures on demand - many skins are never used, so
this saves some system memory)
added palette_featureflags[] for use by mdl skin loading
added TEXF_PRECACHE to all texture uploads that did not use it
added skinframe->hasalpha flag to clean up code
removed R_TextureHasAlpha function
r_glsl 1 no longer uploads fog textures
r_glsl 0, gl_combine 0 no longer loads gloss/normalmaps

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9550 d7cf8633-e32d-0410-b094-e92efae38249
15 files changed:
cl_gecko.c
clvm_cmds.c
gl_draw.c
gl_rmain.c
gl_textures.c
model_alias.c
model_brush.c
model_shared.c
model_shared.h
model_sprite.c
palette.c
palette.h
r_shadow.c
r_textures.h
render.h