scrolllists were incredibly slow to render. This included the friends and groups lists. Should be much faster now due to not thrashing the bound texture quite as much. Also ui elements are culled on the cpu side if they are out of the current scissor region. list cells also had no clip logic, so added to that as well.
This commit is contained in:
@@ -93,11 +93,13 @@ LLCheckBoxCtrl::LLCheckBoxCtrl(const std::string& name, const LLRect& rect,
|
||||
|
||||
// *HACK Get rid of this with SL-55508...
|
||||
// this allows blank check boxes and radio boxes for now
|
||||
std::string local_label = label;
|
||||
// Singu Note: Don't do this. Slows rendering down dramatically, and also seems to not fix anything?
|
||||
/*std::string local_label = label;
|
||||
if(local_label.empty())
|
||||
{
|
||||
local_label = " ";
|
||||
}
|
||||
|
||||
//local_label = " ";
|
||||
}*/
|
||||
|
||||
mLabel = new LLTextBox( std::string("CheckboxCtrl Label"), label_rect, local_label, mFont );
|
||||
mLabel->setFollowsLeft();
|
||||
|
||||
Reference in New Issue
Block a user