llviewerimagelist.cpp File Reference

Object for managing the list of images within a region. More...

#include "llviewerprecompiledheaders.h"
#include <sys/stat.h>
#include "llviewerimagelist.h"
#include "imageids.h"
#include "llgl.h"
#include "llimagegl.h"
#include "llimagebmp.h"
#include "llimagej2c.h"
#include "llimagetga.h"
#include "llimagejpeg.h"
#include "llimagepng.h"
#include "llmediaengine.h"
#include "llsdserialize.h"
#include "llsys.h"
#include "llvfs.h"
#include "llvfile.h"
#include "llvfsthread.h"
#include "message.h"
#include "llagent.h"
#include "lltexturecache.h"
#include "lltexturefetch.h"
#include "llviewercontrol.h"
#include "llviewerimage.h"
#include "llviewerregion.h"
#include "pipeline.h"
#include "viewer.h"

Include dependency graph for llviewerimagelist.cpp:

Go to the source code of this file.

Functions

static std::string get_texture_list_name ()

Variables

const S32 IMAGES_PER_REQUEST = 42
const S32 IMAGES_MIN_UPDATES = 4
const S32 IMAGES_MAX_PACKET_UPDATES = 1
const F32 RESEND_IMAGE_REQUEST_TIME = 15.f
LLViewerImageList gImageList
const S32 VIDEO_CARD_MEM_SIZES [6]
const S32 VIDEO_CARD_FRAMEBUFFER_MEM = 0xC00000
const U32 SIXTEEN_MEG = 0x1000000


Detailed Description

Object for managing the list of images within a region.

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 llviewerimagelist.cpp.


Function Documentation

static std::string get_texture_list_name (  )  [static]

Definition at line 322 of file llviewerimagelist.cpp.

References LLControlGroup::getBOOL(), and gSavedSettings.

Referenced by LLViewerImageList::doPrefetchImages(), and LLViewerImageList::shutdown().


Variable Documentation

LLViewerImageList gImageList

Definition at line 75 of file llviewerimagelist.cpp.

Referenced by LLFloaterScriptDebug::addScriptLine(), LLUndoWearable::applyUndoRedo(), LLEmbeddedItems::bindEmbeddedChars(), LLPipeline::bindScreenToTexture(), LLTexLayerSetBuffer::bindTexture(), cleanup_app(), LLVOTextBubble::createDrawable(), LLSurface::createSTexture(), LLSurface::createWaterTexture(), display(), LLViewerImage::doLoadedCallbacks(), LLWorldMapView::draw(), LLTextureView::draw(), LLGLTexMemBar::draw(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLProgressView::draw(), LLOverlayBar::draw(), LLHoverView::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLNotifyBox::drawBackground(), LLViewerJointMesh::drawShape(), LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), get_item_icon(), LLTaskCategoryBridge::getIcon(), LLFolderBridge::getIcon(), LLItemBridge::getIcon(), LLNetwork2080PageBridge::getIcon(), LLNetwork2080PlayableContentBridge::getIcon(), LLNetwork2080FolderBridge::getIcon(), handle_dump_image_list(), LLVideoMemoryListener::handleEvent(), idle(), idle_startup(), init_stat_view(), LLWorldMapView::initClass(), LLViewerImage::initClass(), LLVOAvatar::invalidateComposite(), LLColorSwatchCtrl::LLColorSwatchCtrl(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLDrawPoolWater::LLDrawPoolWater(), LLFolderViewItem::LLFolderViewItem(), LLJoystickCameraZoom::LLJoystickCameraZoom(), LLPanelLogin::LLPanelLogin(), LLToolGun::LLToolGun(), LLViewerParcelMgr::LLViewerParcelMgr(), LLViewerPartSourceScript::LLViewerPartSourceScript(), LLViewerWindow::LLViewerWindow(), LLVisualParamHint::LLVisualParamHint(), LLVOAvatar::LLVOAvatar(), LLVOClouds::LLVOClouds(), LLVoiceVisualizer::LLVoiceVisualizer(), LLVOSky::LLVOSky(), LLPreviewTexture::loadAsset(), main(), LLVOAvatar::onCustomizeEnd(), LLVOAvatar::onCustomizeStart(), LLPanelEditWearable::onTextureCommit(), output_statistics(), LLPanelLandObjects::postBuild(), LLViewerImageList::processImageNotInDatabase(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapLayerReply(), LLVOTree::processUpdateMessage(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLWearable::removeFromAvatar(), LLVOAvatar::removeMissingBakedTextures(), LLVOCloth::render(), LLPipeline::renderGeom(), LLPipeline::renderHighlights(), LLFace::renderSelectedUV(), LLHUDText::renderText(), LLManip::renderXYZ(), LLVOSky::restoreGL(), LLViewerWindow::restoreGL(), LLStandardBumpmap::restoreGL(), LLMapLayerResponder::result(), LLSelectMgr::selectionRevertTextures(), LLSelectMgr::selectionSetImage(), LLCompass::setBkgndTexture(), LLVLComposition::setDetailTextureID(), LLViewerImage::setLoadedCallback(), LLVOAvatar::setNewBakedTexture(), LLViewerObject::setTE(), LLViewerObject::setTETextureCore(), LLHorizontalCompass::setTexture(), LLCompass::setTexture(), LLVOVolume::setVolume(), LLGenePool::spawn(), stop_video(), LLViewerWindow::stopGL(), LLFloaterReporter::takeScreenshot(), LLViewerObject::unpackParticleSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), update_texture_fetch(), LLViewerObjectList::updateApparentAngles(), LLViewerImage::updateClass(), LLViewerImage::updateFetch(), LLVOAvatar::updateMeshTextures(), LLSelectMgr::updateSilhouettes(), LLVOGrass::updateSpecies(), LLVOVolume::updateTextures(), LLPanelRegionTextureInfo::validateTextureSizes(), LLWearable::writeToAvatar(), LLPanelLogin::~LLPanelLogin(), LLSurface::~LLSurface(), and LLViewerWindow::~LLViewerWindow().

const S32 IMAGES_MAX_PACKET_UPDATES = 1

Definition at line 72 of file llviewerimagelist.cpp.

const S32 IMAGES_MIN_UPDATES = 4

Definition at line 71 of file llviewerimagelist.cpp.

const S32 IMAGES_PER_REQUEST = 42

Definition at line 70 of file llviewerimagelist.cpp.

Referenced by LLTextureFetch::sendRequestListToSimulators().

const F32 RESEND_IMAGE_REQUEST_TIME = 15.f

Definition at line 73 of file llviewerimagelist.cpp.

const U32 SIXTEEN_MEG = 0x1000000

Definition at line 1417 of file llviewerimagelist.cpp.

Referenced by LLViewerImageList::calcMaxTextureRAM().

const S32 VIDEO_CARD_FRAMEBUFFER_MEM = 0xC00000

Definition at line 1235 of file llviewerimagelist.cpp.

Referenced by LLViewerImageList::updateMaxResidentTexMem().

const S32 VIDEO_CARD_MEM_SIZES[6]

Initial value:

 { 0x1000000, 
                                                                          0x2000000, 
                                                                          0x4000000, 
                                                                          0x8000000, 
                                                                          0x10000000, 
                                                                          0x20000000, 
                                                                        }

Definition at line 1227 of file llviewerimagelist.cpp.

Referenced by LLViewerImageList::updateMaxResidentTexMem().


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