]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
cache multiple loaded instances of the same font (TODO: can we also cache the freetyp...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Jan 2011 19:09:48 +0000 (19:09 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 22 Jan 2011 20:44:25 +0000 (21:44 +0100)
commit60d928346968572ec2cd9969ba186ffc365713f3
tree1ddcd1dbf6d19854745b5e9e01a9955c893de345
parent185cc0d95bcef068fdc502466444c1377cf32e56
cache multiple loaded instances of the same font (TODO: can we also cache the freetype object itself? probably not without major changes, as these are size specific); saves about 150M memory use in Xonotic

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10715 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=494fb0738e541883371b17f31c2a94471476c6f5
ft2.c
ft2.h
ft2_fontdefs.h