r8242 - trunk/darkplaces

divverent at icculus.org divverent at icculus.org
Thu Apr 3 18:00:15 EDT 2008


Author: divverent
Date: 2008-04-03 18:00:13 -0400 (Thu, 03 Apr 2008)
New Revision: 8242

Modified:
   trunk/darkplaces/gl_backend.c
Log is attached.
eliminate two calls to qglGetDoublev that possibly slow down rendering by doing a round trip to the GPU to request the matrices. However, on the tested system, this change does absolutely nothing (233fps vs 233fps), and Xnest, forcing indirect rendering and a ssh -Y localhost did not change that. On an actual network connection however, this new way is SURE faster, as it avoids a round trip over the network.

Infinite far clip already used this method, as there is no GL helper for using the infinite far clip matrix.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080403.220015.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20080403/d606d9d9/attachment.diff>


More information about the twilight-commits mailing list