From: Tim M. <ti...@re...> - 2008-01-25 07:36:22
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 till busch wrote: | hi all, | | i have continued my random optimizations to flightgear (and simgear, this | time). | I've committed this, minus the changes in NasalSys and the nav.dat code as we discussed on IRC. Thanks and keep 'em coming, Tim | changes in the attached diffs | ================= | | in simgear: | * removed _tex_cache from SGMaterial (osg takes care of texture caching) | * made textures load on demand when SGMaterial::get_state() is first called | (the only drawback so far is get_state() becoming non-const) | * osg::State held a reference to its "parent" material in userData - this | prevented the reference count for SGMaterial from dropping to 0 | | in flightgear: | * valgrind showed leaks in HUD -- all SGCondition * changed to | SGSharedPtr<SGCondition> | * also changed HUD_decue to deque<SGSharedPtr<instr_item> > | * "simplified" (and switchified) the nav.dat-loading code | * f_interpolate in NasalSys was leaky (valgrind) | * just cosmetics. if noone is working on Traffic/Schedule.cxx i'd like to | have it produce less noise in info-log | | both patches need to be applied for SGMaterial to work properly. | | future plans | ======= | | i'd like to look at apt.dat-loading more closely. as pietro reported, the | default.tower and default.atis files are out of sync. since the data exists | in apt.dat, i'd like to load it all in one go from there. | | also there is version 850 of apt.dat with interesting new features. is anyone | working on getting this into terragear? | | i consider the changes to SGMaterial only the first step. ideally, textures | should get unloaded when not being used anymore. | | of course there is also still a lot of output from valgrind, which i plan to | investigate further. | | as last time: please comment and / or commit | | regards, | | -till | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHmZFveDhWHdXrDRURAoceAJ9woNtJ2lLblTxCTLYvKObgAPGavwCgioL1 LzxK6tYFI4vzVVsaWsncbA4= =otxC -----END PGP SIGNATURE----- |