LLTexStaticImageList Class Reference

#include <lltexlayer.h>

Collaboration diagram for LLTexStaticImageList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTexStaticImageList ()
 ~LLTexStaticImageList ()
LLImageRawgetImageRaw (const LLString &file_name)
LLImageGLgetImageGL (const LLString &file_name, BOOL is_mask)
LLImageTGAgetImageTGA (const LLString &file_name)
void deleteCachedImages ()
void dumpByteCount ()

Public Attributes

S32 mGLBytes
S32 mTGABytes

Private Types

typedef std::map< const char *,
LLPointer< LLImageGL > > 
image_gl_map_t
typedef std::map< const char *,
LLPointer< LLImageTGA > > 
image_tga_map_t

Private Member Functions

BOOL loadImageRaw (const LLString &file_name, LLImageRaw *image_raw)

Private Attributes

image_gl_map_t mStaticImageListGL
image_tga_map_t mStaticImageListTGA

Static Private Attributes

static LLStringTable sImageNames

Detailed Description

Definition at line 503 of file lltexlayer.h.


Member Typedef Documentation

typedef std::map< const char *, LLPointer<LLImageGL> > LLTexStaticImageList::image_gl_map_t [private]

Definition at line 522 of file lltexlayer.h.

typedef std::map< const char *, LLPointer<LLImageTGA> > LLTexStaticImageList::image_tga_map_t [private]

Definition at line 523 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexStaticImageList::LLTexStaticImageList (  ) 

Definition at line 2458 of file lltexlayer.cpp.

LLTexStaticImageList::~LLTexStaticImageList (  ) 

Definition at line 2464 of file lltexlayer.cpp.

References deleteCachedImages().


Member Function Documentation

void LLTexStaticImageList::deleteCachedImages (  ) 

Definition at line 2476 of file lltexlayer.cpp.

References llendl, llinfos, mGLBytes, mStaticImageListGL, mStaticImageListTGA, and mTGABytes.

Referenced by LLVOAvatar::deleteCachedImages(), and ~LLTexStaticImageList().

void LLTexStaticImageList::dumpByteCount (  ) 

Definition at line 2469 of file lltexlayer.cpp.

References llendl, llinfos, mGLBytes, and mTGABytes.

Referenced by output_statistics().

LLImageGL * LLTexStaticImageList::getImageGL ( const LLString file_name,
BOOL  is_mask 
)

Definition at line 2530 of file lltexlayer.cpp.

References LLStringTable::addString(), FALSE, loadImageRaw(), mGLBytes, mStaticImageListGL, NULL, S32, sImageNames, and TRUE.

Referenced by LLTexLayer::render(), LLTexLayerSet::render(), and LLTexLayer::renderAlphaMasks().

LLImageRaw* LLTexStaticImageList::getImageRaw ( const LLString file_name  ) 

LLImageTGA * LLTexStaticImageList::getImageTGA ( const LLString file_name  ) 

Definition at line 2500 of file lltexlayer.cpp.

References LLStringTable::addString(), gDirUtilp, LLDir::getExpandedFilename(), LL_PATH_CHARACTER, mStaticImageListTGA, mTGABytes, NULL, and sImageNames.

Referenced by LLTexLayerParamAlpha::render().

BOOL LLTexStaticImageList::loadImageRaw ( const LLString file_name,
LLImageRaw image_raw 
) [private]

Definition at line 2571 of file lltexlayer.cpp.

References FALSE, gDirUtilp, LLDir::getExpandedFilename(), and LL_PATH_CHARACTER.

Referenced by getImageGL().


Member Data Documentation

S32 LLTexStaticImageList::mGLBytes

Definition at line 528 of file lltexlayer.h.

Referenced by deleteCachedImages(), dumpByteCount(), and getImageGL().

image_gl_map_t LLTexStaticImageList::mStaticImageListGL [private]

Definition at line 524 of file lltexlayer.h.

Referenced by deleteCachedImages(), and getImageGL().

image_tga_map_t LLTexStaticImageList::mStaticImageListTGA [private]

Definition at line 525 of file lltexlayer.h.

Referenced by deleteCachedImages(), and getImageTGA().

S32 LLTexStaticImageList::mTGABytes

Definition at line 529 of file lltexlayer.h.

Referenced by deleteCachedImages(), dumpByteCount(), and getImageTGA().

LLStringTable LLTexStaticImageList::sImageNames [static, private]

Definition at line 520 of file lltexlayer.h.

Referenced by getImageGL(), and getImageTGA().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:50 2010 for Second Life Viewer by  doxygen 1.4.7