#include <lltexlayer.h>
Collaboration diagram for LLTexStaticImageList:
Public Member Functions | |
LLTexStaticImageList () | |
~LLTexStaticImageList () | |
LLImageRaw * | getImageRaw (const LLString &file_name) |
LLImageGL * | getImageGL (const LLString &file_name, BOOL is_mask) |
LLImageTGA * | getImageTGA (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 |
Definition at line 503 of file lltexlayer.h.
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.
LLTexStaticImageList::LLTexStaticImageList | ( | ) |
Definition at line 2458 of file lltexlayer.cpp.
LLTexStaticImageList::~LLTexStaticImageList | ( | ) |
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().
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().
Definition at line 528 of file lltexlayer.h.
Referenced by deleteCachedImages(), dumpByteCount(), and getImageGL().
Definition at line 529 of file lltexlayer.h.
Referenced by deleteCachedImages(), dumpByteCount(), and getImageTGA().
LLStringTable LLTexStaticImageList::sImageNames [static, private] |