llfeaturemanager.cpp File Reference

LLFeatureManager class implementation. More...

#include <iostream>
#include <fstream>
#include "llviewerprecompiledheaders.h"
#include "llfeaturemanager.h"
#include "lldir.h"
#include "llsys.h"
#include "llgl.h"
#include "llsecondlifeurls.h"
#include "llviewercontrol.h"
#include "llworld.h"
#include "pipeline.h"
#include "lldrawpoolterrain.h"
#include "llviewerimagelist.h"
#include "llwindow.h"
#include "llui.h"

Include dependency graph for llfeaturemanager.cpp:

Go to the source code of this file.

Functions

void write_debug (const char *str)
void write_debug (const std::string &str)

Variables

LLMemoryInfo gSysMemory
LLCPUInfo gSysCPU
const char FEATURE_TABLE_FILENAME [] = "featuretable.txt"
const char GPU_TABLE_FILENAME [] = "gpu_table.txt"
LLFeatureManagergFeatureManagerp = NULL
LLOSInfo gSysOS


Detailed Description

LLFeatureManager class implementation.

LicenseInfo
firstyear=2003&license=viewergpl

Copyright (c) 2003-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llfeaturemanager.cpp.


Function Documentation

void write_debug ( const std::string &  str  ) 

Definition at line 4969 of file viewer.cpp.

References write_debug().

void write_debug ( const char *  str  ) 

Definition at line 4974 of file viewer.cpp.

References LLFile::fopen(), gDebugFile, gDirUtilp, LLDir::getExpandedFilename(), LL_PATH_LOGS, and llinfos.

Referenced by idle_startup(), main(), send_crash_report(), viewer_crash_callback(), write_debug(), and write_system_info().


Variable Documentation

const char FEATURE_TABLE_FILENAME[] = "featuretable.txt"

Definition at line 71 of file llfeaturemanager.cpp.

Referenced by LLFeatureManager::loadFeatureTables().

LLFeatureManager* gFeatureManagerp = NULL

Definition at line 76 of file llfeaturemanager.cpp.

Referenced by LLPipeline::canUseVertexShaders(), cleanup_app(), display(), LLUseOcclusionListener::handleEvent(), idle_startup(), init_debug_rendering_menu(), LLVOSky::initCubeMap(), LLCubeMap::initGL(), LLViewerWindow::LLViewerWindow(), main(), LLDrawPoolWater::prerender(), LLPanelDisplay3::refreshEnabledState(), LLPanelDisplay2::refreshEnabledState(), LLVOSky::restoreGL(), send_stats(), and LLShaderMgr::setShaders().

const char GPU_TABLE_FILENAME[] = "gpu_table.txt"

Definition at line 74 of file llfeaturemanager.cpp.

Referenced by LLFeatureManager::loadGPUClass().

LLCPUInfo gSysCPU

Definition at line 65 of file llsys.cpp.

LLMemoryInfo gSysMemory

Definition at line 502 of file viewer.cpp.

Referenced by LLViewerImageList::getMaxVideoRamSetting(), LLFeatureManager::initCPUFeatureMasks(), LLFloaterAbout::LLFloaterAbout(), send_stats(), LLViewerImage::updateClass(), and write_system_info().

LLOSInfo gSysOS

Definition at line 503 of file viewer.cpp.

Referenced by LLFloaterAbout::LLFloaterAbout(), send_stats(), and write_system_info().


Generated on Thu Jul 1 06:10:12 2010 for Second Life Viewer by  doxygen 1.4.7