-Sanity checks from snowglobe. ...

-Null terminated a string buffer.
-Mutex locks are expensive.
-Realloc is my friend.
-But leaks are not.
-Nor are unused variables.
-And buffer overruns should get lost.
-bindManual shouldnt return failure if texture's already bound.
-Pulled windlight and classic clouds apart into unique rendertypes.
-'Client or Account' savedsettings stuff is now moar bettar. (and efficient)
-Replaced LLSavedSettingsGlue with something that supports gSavedSettings, gSavedPerAccountSettings, and gCOASavedSettings

-Added 'Enable Classic Clouds' checkbox to ascet performance settings panel
-New cards added to gpu table.
-General cleaning...
-How2spell 'dimensions'?

Via Shyotl

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-10-01 22:51:50 -04:00
parent bbbee73eae
commit 810fff09d6
36 changed files with 345 additions and 230 deletions

View File

@@ -41,7 +41,7 @@ class LLUICtrl;
// and assign the control name as a const char* to the userdata.
class LLSavedSettingsGlue
{
public:
public:/*
static void setBOOL(LLUICtrl* ctrl, void* name);
static void setS32(LLUICtrl* ctrl, void* name);
static void setF32(LLUICtrl* ctrl, void* name);
@@ -49,20 +49,21 @@ public:
static void setString(LLUICtrl* ctrl, void* name);
//Ascent Client-Or-Account Settings Get
static BOOL getCOABOOL(std::string name);
static S32 getCOAS32(std::string name);
static F32 getCOAF32(std::string name);
static U32 getCOAU32(std::string name);
static std::string getCOAString(std::string name);
static LLColor4 getCOAColor4(std::string name);
static LLControlVariable *gCOASavedSettings->getControl(const std::string &name);
static BOOL getCOABOOL(const std::string &name);
static S32 getCOAS32(const std::string &name);
static F32 getCOAF32(const std::string &name);
static U32 getCOAU32(const std::string &name);
static std::string getCOAString(const std::string &name);
static LLColor4 getCOAColor4(const std::string &name);
//Ascent Client-Or-Account Settings Set
static void setCOABOOL(std::string name, BOOL value);
static void setCOAS32(std::string name, S32 value);
static void setCOAF32(std::string name, F32 value);
static void setCOAU32(std::string name, U32 value);
static void setCOAString(std::string name, std::string value);
static void setCOAColor4(std::string name, LLColor4 value);
static void setCOABOOL(const std::string &name, BOOL value);
static void setCOAS32(const std::string &name, S32 value);
static void setCOAF32(const std::string &name, F32 value);
static void setCOAU32(const std::string &name, U32 value);
static void setCOAString(const std::string &name, std::string value);
static void setCOAColor4(const std::string &name, LLColor4 value);*/
};
#endif