llviewerimage.cpp File Reference

Object which handles a received image (and associated texture(s)). More...

#include "llviewerprecompiledheaders.h"
#include "llviewerimage.h"
#include "imageids.h"
#include "llmath.h"
#include "llerror.h"
#include "llgl.h"
#include "llglheaders.h"
#include "llhost.h"
#include "llimage.h"
#include "llimagebmp.h"
#include "llimagej2c.h"
#include "llimagetga.h"
#include "llmemtype.h"
#include "llstl.h"
#include "llvfile.h"
#include "llvfs.h"
#include "message.h"
#include "lltimer.h"
#include "lldrawpool.h"
#include "lltexturefetch.h"
#include "llviewerimagelist.h"
#include "llviewercontrol.h"
#include "pipeline.h"
#include "viewer.h"

Include dependency graph for llviewerimage.cpp:

Go to the source code of this file.

Variables

static F32 sDesiredDiscardBiasMin = -2.0f
static F32 sDesiredDiscardBiasMax = 1.5f
const F32 discard_bias_delta = .05f
const F32 discard_delta_time = 0.5f
const S32 min_non_tex_system_mem = (128<<20)
F32 texmem_lower_bound_scale = 0.85f
F32 texmem_middle_bound_scale = 0.925f


Detailed Description

Object which handles a received image (and associated texture(s)).

LicenseInfo
firstyear=2000&license=viewergpl

Copyright (c) 2000-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 llviewerimage.cpp.


Variable Documentation

const F32 discard_bias_delta = .05f

Definition at line 141 of file llviewerimage.cpp.

Referenced by LLViewerImage::updateClass().

const F32 discard_delta_time = 0.5f

Definition at line 142 of file llviewerimage.cpp.

Referenced by LLViewerImage::updateClass().

const S32 min_non_tex_system_mem = (128<<20)

Definition at line 143 of file llviewerimage.cpp.

Referenced by LLViewerImage::updateClass().

F32 sDesiredDiscardBiasMax = 1.5f [static]

Definition at line 75 of file llviewerimage.cpp.

Referenced by LLViewerImage::updateClass().

F32 sDesiredDiscardBiasMin = -2.0f [static]

Definition at line 74 of file llviewerimage.cpp.

Referenced by LLViewerImage::updateClass().

F32 texmem_lower_bound_scale = 0.85f

Definition at line 145 of file llviewerimage.cpp.

Referenced by LLGLTexMemBar::draw(), and LLViewerImage::updateClass().

F32 texmem_middle_bound_scale = 0.925f

Definition at line 146 of file llviewerimage.cpp.

Referenced by LLViewerImage::processTextureStats().


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