-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Curtis Olson wrote: | Hi Til, | | Thanks again for your efforts on this (and to everyone else who | participated.) I've just committed the most recent version of this | patch. It seemed to stand up well to my stress tests. There is an | issue with the ground-cache code not always returning a proper hit, but | that seems completely unrelated to this effort and I think it's a bug | that already existed. | | Curt. | | Beat me to it :) The idea behind setting the time stamp in an OSG cull traversal callback is to only update the time stamp if the tile is in view so that tiles that haven't been observed for a long time will get flushed first. In practice, as Til has found, it may not make much difference, but it seems more elegant to me.
Thanks again to Til, Tim | On Thu, Feb 21, 2008 at 11:11 AM, till busch wrote: | | hi, | | as discussed with tim on irc. here comes a quick fix for | memory-hungry tile | manager. due to bugs in FGNewCache old tiles where never deleted. | | i left the timestamp-updates in the cull-traversal. but imho things | work just | as well when timestamps are updated in FGNewCache::insert_tile() and | FGNewCache::get_tile() | | longing to reduce fg's memory footprint on long trips :-) | | cheers, | | -till | | ------------------------------------------------------------------------- | This SF.net email is sponsored by: Microsoft | Defy all challenges. Microsoft(R) Visual Studio 2008. | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ | _______________________________________________ | Flightgear-devel mailing list | Flightgear-devel@lists.sourceforge.net | <mailto:Flightgear-devel@lists.sourceforge.net> | https://lists.sourceforge.net/lists/listinfo/flightgear-devel | | | | | -- | Curtis Olson: http://baron.flightgear.org/~curt/ | | | ------------------------------------------------------------------------ | | ------------------------------------------------------------------------- | This SF.net email is sponsored by: Microsoft | Defy all challenges. Microsoft(R) Visual Studio 2008. | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ | | | ------------------------------------------------------------------------ | | _______________________________________________ | Flightgear-devel mailing list | Flightgear-devel@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/flightgear-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHvgEfeDhWHdXrDRURAvL3AJ47CldqcV/h+pKP5/WBLdmIv3V55gCeNWuU TzjiRksmdB2s1uDtcgzsP4Y= =zF4J -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel