diff options
author | Nicky Perian | 2011-06-23 21:44:21 -0500 |
---|---|---|
committer | McCabe Maxsted | 2011-06-27 18:35:04 -0700 |
commit | dcb2432d7d7283b93f79f457637469f52a87268f (patch) | |
tree | c1f1eb93fafce4a48d882a7ba8dc3fdafea6a32c /linden | |
parent | Fixed llinfos comment in llaudioengine_openal.cpp: updatewind, not initwind (diff) | |
download | meta-impy-dcb2432d7d7283b93f79f457637469f52a87268f.zip meta-impy-dcb2432d7d7283b93f79f457637469f52a87268f.tar.gz meta-impy-dcb2432d7d7283b93f79f457637469f52a87268f.tar.bz2 meta-impy-dcb2432d7d7283b93f79f457637469f52a87268f.tar.xz |
Code from Singularity Viewer. Original author Shyotl.
Place machine SSE status and viewer compiled status in
Help->About Imprudence Floater.
Signed-off-by: Nicky Perian <nickyperian@yahoo.com>
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 8878de5..13795e5 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -190,7 +190,14 @@ LLFloaterAbout::LLFloaterAbout() | |||
190 | support.append("CPU: "); | 190 | support.append("CPU: "); |
191 | support.append( gSysCPU.getCPUString() ); | 191 | support.append( gSysCPU.getCPUString() ); |
192 | support.append("\n"); | 192 | support.append("\n"); |
193 | 193 | ||
194 | support.append("SSE Support:"); | ||
195 | if(gSysCPU.hasSSE()) | ||
196 | support.append(" SSE2\n"); | ||
197 | else if(gSysCPU.hasSSE()) | ||
198 | support.append(" SSE\n"); | ||
199 | else | ||
200 | support.append(" None\n"); | ||
194 | U32 memory = gSysMemory.getPhysicalMemoryKB() / 1024; | 201 | U32 memory = gSysMemory.getPhysicalMemoryKB() / 1024; |
195 | // Moved hack adjustment to Windows memory size into llsys.cpp | 202 | // Moved hack adjustment to Windows memory size into llsys.cpp |
196 | 203 | ||
@@ -225,9 +232,19 @@ LLFloaterAbout::LLFloaterAbout() | |||
225 | 232 | ||
226 | support.append("OpenGL Version: "); | 233 | support.append("OpenGL Version: "); |
227 | support.append( (const char*) glGetString(GL_VERSION) ); | 234 | support.append( (const char*) glGetString(GL_VERSION) ); |
228 | support.append("\n"); | 235 | support.append("\n\n"); |
236 | |||
237 | support.append("Viewer SSE Version: "); | ||
238 | #if _M_IX86_FP > 0 //Windows | ||
239 | support.append(llformat("SSE%i\n", _M_IX86_FP )); | ||
240 | #elif defined(__SSE2__) //GCC | ||
241 | support.append("SSE2\n"); | ||
242 | #elif defined(__SSE__) //GCC | ||
243 | support.append("SSE\n"); | ||
244 | #else | ||
245 | support.append("None\n"); | ||
246 | #endif | ||
229 | 247 | ||
230 | support.append("\n"); | ||
231 | 248 | ||
232 | support.append("libcurl Version: "); | 249 | support.append("libcurl Version: "); |
233 | support.append( LLCurl::getVersionString() ); | 250 | support.append( LLCurl::getVersionString() ); |