diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-02-02 18:24:11 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-02-02 18:24:11 -0800 |
commit | 5491dd6e983f8fccbd687c7c45ef43125dfc0f6c (patch) | |
tree | e4a1486f308680b969ddcd3e15602b3e0bd27c81 /indra/llmessage/lltransfersourceasset.cpp | |
parent | 785d771eaf83bbf056cabe05e639fce8b234e0cc (diff) |
Further fixes for EXT-4689 (Long-word chat spam cripples fps and/or disconnects client).
This should fix the inefficiencies in the append path that made viewer FPS drop severely when addinglarge amounts of text to the nearby chat floater.
Resizing the floater with a huge amount of text in it is still pretty bad, but fixing that will require some bigger architectural changes.
Changed LLTextBase::needsReflow() to take an offset at which to start reflow processing.
Changed most needsReflow() calls in LLTextBase to supply a proper index.
Changed LLTextBase::reflow() to use the reflow index maintained by needsReflow().
Removed all needsReflow() calls from LLTextEditor (the only way for it to manipulate the text is through functions in LLTextBase that already manage reflowing internally).
Removed LLTextEditor::replaceUrlLabel(), since it was identical to the inherited version LLTextBase::replaceUrlLabel().
Reviewed by Richard.
Diffstat (limited to 'indra/llmessage/lltransfersourceasset.cpp')
0 files changed, 0 insertions, 0 deletions