lltexturecache.cpp File Reference

Object which handles local texture caching. More...

#include "llviewerprecompiledheaders.h"
#include "lltexturecache.h"
#include "llapr.h"
#include "lldir.h"
#include "llimage.h"
#include "lllfsthread.h"
#include "llviewercontrol.h"

Include dependency graph for lltexturecache.cpp:

Go to the source code of this file.

Classes

class  LLTextureCacheWorker
class  LLTextureCacheWorker::ReadResponder
class  LLTextureCacheWorker::WriteResponder
struct  lru_data
struct  lru_data::Compare

Defines

#define USE_LFS_READ   0
#define USE_LFS_WRITE   0

Variables

const S32 TEXTURE_CACHE_ENTRY_SIZE = FIRST_PACKET_SIZE
const S32 MAX_REASONABLE_FILE_SIZE = 512*1024*1024
const char * entries_filename = "texture.entries"
const char * cache_filename = "texture.cache"
const char * textures_dirname = "textures"


Detailed Description

Object which handles local texture caching.

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


Define Documentation

#define USE_LFS_READ   0

Definition at line 42 of file lltexturecache.cpp.

#define USE_LFS_WRITE   0

Definition at line 43 of file lltexturecache.cpp.


Variable Documentation

const char* cache_filename = "texture.cache"

Definition at line 848 of file lltexturecache.cpp.

Referenced by LLTextureCache::setDirNames().

const char* entries_filename = "texture.entries"

Definition at line 847 of file lltexturecache.cpp.

Referenced by LLTextureCache::setDirNames().

const S32 MAX_REASONABLE_FILE_SIZE = 512*1024*1024

Definition at line 843 of file lltexturecache.cpp.

const S32 TEXTURE_CACHE_ENTRY_SIZE = FIRST_PACKET_SIZE

Definition at line 46 of file lltexturecache.cpp.

Referenced by LLTextureCacheWorker::doRead(), LLTextureCacheWorker::doWrite(), LLTextureCache::initCache(), and LLTextureCache::writeToCache().

const char* textures_dirname = "textures"

Definition at line 849 of file lltexturecache.cpp.

Referenced by LLTextureCache::setDirNames().


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