reworked decal system to limit the number of decal splats active at once
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Nov 2009 05:43:07 +0000 (05:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Nov 2009 05:43:07 +0000 (05:43 +0000)
commit74f678aada02d38886471dc02b609836f95e022e
tree2257a5845ad7564af93380949097667613fae785
parent14ce85f025a476a81dce1d4dd0d3515ac71be85b
reworked decal system to limit the number of decal splats active at once
rather than simply allowing things to timeout, this does not directly
limit the number of triangles (because decal events on models may
produce hundreds or thousands of triangles) but it does reduce
worst-case performance issues
implemented compacting code for the new decal system, so there are no
wasted triangles when decals expire

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9507 d7cf8633-e32d-0410-b094-e92efae38249
cl_particles.c
cl_screen.c
client.h
gl_rmain.c