diff options
author | Dave Parks <davep@lindenlab.com> | 2022-11-29 09:15:02 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-11-29 09:15:02 -0600 |
commit | b5db671f7c28eb2a9f9974df1c34cf8c025fb8cc (patch) | |
tree | 4e575a103f4d8cc8873e24840ad2dd6804ead093 /indra/llwindow/llwindowwin32.h | |
parent | 159d4f9cd0537cab5a87a873a172c571d02d4afc (diff) |
SL-18682 WIP -- Add debug settings that aid in emulating low end hardware.
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r-- | indra/llwindow/llwindowwin32.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h index bd53b3e92a..ff287a140e 100644 --- a/indra/llwindow/llwindowwin32.h +++ b/indra/llwindow/llwindowwin32.h @@ -139,7 +139,7 @@ protected: LLWindowWin32(LLWindowCallbacks* callbacks, const std::string& title, const std::string& name, int x, int y, int width, int height, U32 flags, BOOL fullscreen, BOOL clearBg, BOOL enable_vsync, BOOL use_gl, - BOOL ignore_pixel_depth, U32 fsaa_samples); + BOOL ignore_pixel_depth, U32 fsaa_samples, U32 max_cores, U32 max_vram, F32 max_gl_version); ~LLWindowWin32(); void initCursors(); @@ -210,6 +210,8 @@ protected: F32 mCurrentGamma; U32 mFSAASamples; + U32 mMaxCores; // for debugging only -- maximum number of CPU cores to use, or 0 for no limit + F32 mMaxGLVersion; // maximum OpenGL version to attempt to use (clamps to 3.2 - 4.6) WORD mPrevGammaRamp[3][256]; WORD mCurrentGammaRamp[3][256]; BOOL mCustomGammaSet; |