aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Prioritizer.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)2011-09-011-2/+1
| | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-4/+4
| | | | pointless duplication of identical values
* refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-261-4/+3
| | | | This does a tiny bit to reduce code complexity, memory requirement and the cpu time of pointlessly setting this field to the same value in every SOP
* Add back the high prioritization for other avatars in theMic Bowman2011-04-261-6/+8
| | | | BestAvatarResponsiveness prioritizer.
* Added a second immediate queue to be used for the BestAvatar policyMic Bowman2011-04-221-4/+30
| | | | | | and currently used for all of an avatars attachments by the other policies. Also changed the way items are pulled from the update queues to bias close objects even more.
* Added an "immediate" queue to the priority queue. This isMic Bowman2011-04-201-2/+2
| | | | | | | | | per Melanie's very good suggestion. The immediate queue is serviced completely before all others, making it a very good place to put avatar updates & attachments. Moved the priority queue out of the LLUDP directory and into the framework. It is now a fairly general utility.
* Comment out the warning if the prioritizer runs without a fullyMic Bowman2011-04-131-1/+5
| | | | | initialized scene presence. Not sure why we are dumping updates to a client that isn't there yet...
* Changed the "not in scene" check in the prioritizier to justMic Bowman2011-04-101-2/+3
| | | | | | a warning. There appears to be a race condition on slow logins that attempts to prioritize before the scene presence is fully initialized.
* Fixed the prioritizer functions for the new priority queuesMic Bowman2011-04-101-210/+82
|
* Implements adaptive queue management and fair queueing forMic Bowman2011-04-101-2/+69
| | | | | | | improved networking performance. Reprioritization algorithms need to be ported still. One is in place.
* Fixes the nudge movements!Diva Canto2010-12-111-10/+18
|
* Formatting cleanup.Jeff Ames2010-09-121-5/+5
|
* Add copyright headers.Jeff Ames2010-09-121-0/+27
|
* Remove mono compiler warningsJustin Clark-Casey (justincc)2010-08-261-2/+1
|
* Use SOP.ParentGroup in Prioritizer instead of Scene.GetGroupByPrim()Justin Clark-Casey (justincc)2010-08-261-2/+16
| | | | By the time a scheduled update is triggered, a sog may have been removed from the scene. This change prevents NullReferenceExceptions in these situations.
* Guard prioritizer agains null values as those produced by a bullet dyingMelanie Thielker2010-06-221-0/+3
| | | | before it can be updated
* Give attachments the same priority as other avatars in BestAvatarResponsivenessMelanie2010-06-091-1/+4
| | | | policy
* Adjust object update priorities such that root prims are sent to the viewer ↵Justin Clark-Casey (justincc)2010-06-081-6/+44
| | | | | | | | | before child prims. This was originally a fix for huds, since child prims fail to display if the viewer doesn't receive the root prim update first. However, on the advice of jhurliman, this has been done for all objects, both ordinary and attachments. The separate mechanism in LLClientView which prevents child prim updates being sent out first is still present temporarily. This is a foreport of the equivalent fix in 0.6.9-post-fixes, though that was for attachments only.
* Add a new priority scheme that works like FrontBack, but completely ↵Melanie2010-05-211-0/+57
| | | | | | | | deprioritizes static prims, creating a hierarchy as follows: 0 == own avatar < other avatars < pysical prims < static prims For a child agent, simply acts like FrontBack
* * Added code comments to Prioritizer.cs that document how to add a new ↵John Hurliman2010-05-211-1/+13
| | | | update priority policy
* * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-211-0/+122
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority