Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri May 23 03:43:36 EDT 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2003-05-23 07:43:36 UTC

Log message:

added gl_mesh_batching (default on) which merges several meshes in a row to reduce overhead of array locking and drawing
added MESH_VAR and MESH_BATCH defines to allow relevant code to be disabled (MESH_VAR is currently disabled because it's somewhat broken last I checked)
added custom array pointer support in R_Mesh_State (MainState and TextureState), this is experimental but works fine
added gl_mesh_copyarrays (default off) which tells renderer code that it should use custom array pointer support instead of copying (currently testable on surface rendering - not a good use, too many Pointer calls for very little geometry)
some other cleanups

Modified files:
     gl_backend.c gl_backend.h gl_rsurf.c gl_textures.c r_sky.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20030523.074336.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030523/03e0ef8e/attachment.diff>


More information about the twilight-commits mailing list