diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/llwindowwin32.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llwindow/llwindowwin32.h b/linden/indra/llwindow/llwindowwin32.h index f159d30..5535af4 100644 --- a/linden/indra/llwindow/llwindowwin32.h +++ b/linden/indra/llwindow/llwindowwin32.h | |||
@@ -59,7 +59,7 @@ public: | |||
59 | /*virtual*/ BOOL getSize(LLCoordWindow *size); | 59 | /*virtual*/ BOOL getSize(LLCoordWindow *size); |
60 | /*virtual*/ BOOL setPosition(LLCoordScreen position); | 60 | /*virtual*/ BOOL setPosition(LLCoordScreen position); |
61 | /*virtual*/ BOOL setSize(LLCoordScreen size); | 61 | /*virtual*/ BOOL setSize(LLCoordScreen size); |
62 | /*virtual*/ BOOL switchContext(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync); | 62 | /*virtual*/ BOOL switchContext(BOOL fullscreen, const LLCoordScreen &size, BOOL disable_vsync, const LLCoordScreen * const posp = NULL); |
63 | /*virtual*/ BOOL setCursorPosition(LLCoordWindow position); | 63 | /*virtual*/ BOOL setCursorPosition(LLCoordWindow position); |
64 | /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position); | 64 | /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position); |
65 | /*virtual*/ void showCursor(); | 65 | /*virtual*/ void showCursor(); |
@@ -78,6 +78,8 @@ public: | |||
78 | /*virtual*/ void flashIcon(F32 seconds); | 78 | /*virtual*/ void flashIcon(F32 seconds); |
79 | /*virtual*/ F32 getGamma(); | 79 | /*virtual*/ F32 getGamma(); |
80 | /*virtual*/ BOOL setGamma(const F32 gamma); // Set the gamma | 80 | /*virtual*/ BOOL setGamma(const F32 gamma); // Set the gamma |
81 | /*virtual*/ void setFSAASamples(const U32 fsaa_samples); | ||
82 | /*virtual*/ U32 getFSAASamples(); | ||
81 | /*virtual*/ BOOL restoreGamma(); // Restore original gamma table (before updating gamma) | 83 | /*virtual*/ BOOL restoreGamma(); // Restore original gamma table (before updating gamma) |
82 | /*virtual*/ ESwapMethod getSwapMethod() { return mSwapMethod; } | 84 | /*virtual*/ ESwapMethod getSwapMethod() { return mSwapMethod; } |
83 | /*virtual*/ void gatherInput(); | 85 | /*virtual*/ void gatherInput(); |
@@ -118,7 +120,7 @@ protected: | |||
118 | LLWindowWin32( | 120 | LLWindowWin32( |
119 | char *title, char *name, int x, int y, int width, int height, U32 flags, | 121 | char *title, char *name, int x, int y, int width, int height, U32 flags, |
120 | BOOL fullscreen, BOOL clearBg, BOOL disable_vsync, BOOL use_gl, | 122 | BOOL fullscreen, BOOL clearBg, BOOL disable_vsync, BOOL use_gl, |
121 | BOOL ignore_pixel_depth); | 123 | BOOL ignore_pixel_depth, U32 fsaa_samples); |
122 | ~LLWindowWin32(); | 124 | ~LLWindowWin32(); |
123 | 125 | ||
124 | void initCursors(); | 126 | void initCursors(); |
@@ -184,6 +186,7 @@ protected: | |||
184 | static BOOL sIsClassRegistered; // has the window class been registered? | 186 | static BOOL sIsClassRegistered; // has the window class been registered? |
185 | 187 | ||
186 | F32 mCurrentGamma; | 188 | F32 mCurrentGamma; |
189 | U32 mFSAASamples; | ||
187 | WORD mPrevGammaRamp[256*3]; | 190 | WORD mPrevGammaRamp[256*3]; |
188 | WORD mCurrentGammaRamp[256*3]; | 191 | WORD mCurrentGammaRamp[256*3]; |
189 | 192 | ||