Clean up and draw optimization in LLStatusBar.

I saw a 1.7 FPS gain, which is pretty good for my old card ^*^
This commit is contained in:
Inusaito Sayori
2014-10-23 04:28:18 -04:00
parent 3231a7d25f
commit b25643f0bf
2 changed files with 139 additions and 229 deletions

View File

@@ -90,10 +90,6 @@ private:
// simple method to setup the part that holds the date
void setupDate();
static void onCommitSearch(LLUICtrl*, void* data);
static void onClickSearch(void* data);
static void onClickStatGraph(void* data);
void onRegionBoundaryCrossed();
void createNavMeshStatusListenerForCurrentRegion();
void onNavMeshStatusChange(const LLPathfindingNavMeshStatus &pNavMeshStatus);
@@ -111,6 +107,23 @@ private:
LLButton *mBtnBuyCurrency;
LLUICtrl* mScriptOut;
LLUICtrl* mHealthV;
LLUICtrl* mNoFly;
LLUICtrl* mBuyLand;
LLUICtrl* mBuyCurrency;
LLUICtrl* mNoBuild;
LLUICtrl* mPFDirty;
LLUICtrl* mPFDisabled;
LLUICtrl* mStatusSeeAV;
LLUICtrl* mNoScripts;
LLUICtrl* mRestrictPush;
LLUICtrl* mStatusNoVoice;
LLUICtrl* mSearchEditor;
LLUICtrl* mSearchBtn;
LLView* mSearchBevel;
LLTextBox* mStatBtn;
S32 mBalance;
S32 mUPC;
S32 mHealth;