diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:31:53 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:31:53 -0700 |
commit | 6e410c31c4f84247586312fa7763a2eb3a8db9da (patch) | |
tree | 9540cc49b0c7aabd56869feaa9fbf48b34f12f2e /indra/newview/llfeaturemanager.h | |
parent | 8675ed0491efee860ac1b2d1d5fe88d150768217 (diff) | |
parent | 6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff) |
Merge the CHUIstorm 3.6.5
Diffstat (limited to 'indra/newview/llfeaturemanager.h')
-rwxr-xr-x | indra/newview/llfeaturemanager.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/llfeaturemanager.h b/indra/newview/llfeaturemanager.h index ad72c16743..3b8d251236 100755 --- a/indra/newview/llfeaturemanager.h +++ b/indra/newview/llfeaturemanager.h @@ -134,8 +134,18 @@ public: // skipFeatures forces skipping of mostly hardware settings // that we don't want to change when we change graphics // settings - void setGraphicsLevel(S32 level, bool skipFeatures); - + void setGraphicsLevel(U32 level, bool skipFeatures); + + // What 'level' values are valid to pass to setGraphicsLevel()? + // 0 is the low end... + U32 getMaxGraphicsLevel() const; + bool isValidGraphicsLevel(U32 level) const; + + // setGraphicsLevel() levels have names. + std::string getNameForGraphicsLevel(U32 level) const; + // returns -1 for unrecognized name (hence S32 rather than U32) + S32 getGraphicsLevelForName(const std::string& name) const; + void applyBaseMasks(); void applyRecommendedSettings(); |