diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llwindow/llwindowsdl.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.h')
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.h b/linden/indra/llwindow/llwindowsdl.h index 3d102b9..d1b2b77 100644 --- a/linden/indra/llwindow/llwindowsdl.h +++ b/linden/indra/llwindow/llwindowsdl.h | |||
@@ -66,7 +66,7 @@ public: | |||
66 | /*virtual*/ BOOL getSize(LLCoordWindow *size); | 66 | /*virtual*/ BOOL getSize(LLCoordWindow *size); |
67 | /*virtual*/ BOOL setPosition(LLCoordScreen position); | 67 | /*virtual*/ BOOL setPosition(LLCoordScreen position); |
68 | /*virtual*/ BOOL setSize(LLCoordScreen size); | 68 | /*virtual*/ BOOL setSize(LLCoordScreen size); |
69 | /*virtual*/ BOOL switchContext(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync); | 69 | /*virtual*/ BOOL switchContext(BOOL fullscreen, const LLCoordScreen &size, BOOL disable_vsync, const LLCoordScreen * const posp = NULL); |
70 | /*virtual*/ BOOL setCursorPosition(LLCoordWindow position); | 70 | /*virtual*/ BOOL setCursorPosition(LLCoordWindow position); |
71 | /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position); | 71 | /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position); |
72 | /*virtual*/ void showCursor(); | 72 | /*virtual*/ void showCursor(); |
@@ -85,6 +85,8 @@ public: | |||
85 | /*virtual*/ void flashIcon(F32 seconds); | 85 | /*virtual*/ void flashIcon(F32 seconds); |
86 | /*virtual*/ F32 getGamma(); | 86 | /*virtual*/ F32 getGamma(); |
87 | /*virtual*/ BOOL setGamma(const F32 gamma); // Set the gamma | 87 | /*virtual*/ BOOL setGamma(const F32 gamma); // Set the gamma |
88 | /*virtual*/ U32 getFSAASamples(); | ||
89 | /*virtual*/ void setFSAASamples(const U32 samples); | ||
88 | /*virtual*/ BOOL restoreGamma(); // Restore original gamma table (before updating gamma) | 90 | /*virtual*/ BOOL restoreGamma(); // Restore original gamma table (before updating gamma) |
89 | /*virtual*/ ESwapMethod getSwapMethod() { return mSwapMethod; } | 91 | /*virtual*/ ESwapMethod getSwapMethod() { return mSwapMethod; } |
90 | /*virtual*/ void gatherInput(); | 92 | /*virtual*/ void gatherInput(); |
@@ -132,7 +134,7 @@ protected: | |||
132 | LLWindowSDL( | 134 | LLWindowSDL( |
133 | char *title, int x, int y, int width, int height, U32 flags, | 135 | char *title, int x, int y, int width, int height, U32 flags, |
134 | BOOL fullscreen, BOOL clearBg, BOOL disable_vsync, BOOL use_gl, | 136 | BOOL fullscreen, BOOL clearBg, BOOL disable_vsync, BOOL use_gl, |
135 | BOOL ignore_pixel_depth); | 137 | BOOL ignore_pixel_depth, U32 fsaa_samples); |
136 | ~LLWindowSDL(); | 138 | ~LLWindowSDL(); |
137 | 139 | ||
138 | void initCursors(); | 140 | void initCursors(); |
@@ -183,6 +185,7 @@ protected: | |||
183 | LLCoordScreen mNeedsResizeSize; | 185 | LLCoordScreen mNeedsResizeSize; |
184 | F32 mOverrideAspectRatio; | 186 | F32 mOverrideAspectRatio; |
185 | F32 mGamma; | 187 | F32 mGamma; |
188 | U32 mFSAASamples; | ||
186 | 189 | ||
187 | int mSDLFlags; | 190 | int mSDLFlags; |
188 | 191 | ||