]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
eliminate two calls to qglGetDoublev that possibly slow down rendering by doing a...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Apr 2008 22:00:13 +0000 (22:00 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Apr 2008 22:00:13 +0000 (22:00 +0000)
commit5cc57bf8797906d5cd7782347061399c66bb5ea6
tree96a348f8822d06ab8fb897619920c5fccdf55183
parent22a6c8961f4d5ff64912f52acbd3ada41ce2dae0
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.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8242 d7cf8633-e32d-0410-b094-e92efae38249
gl_backend.c