#include <lltexlayer.h>
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 2422 of file lltexlayer.cpp.
LLTexStaticImageList::~LLTexStaticImageList | ( | ) |
Definition at line 2428 of file lltexlayer.cpp.
References deleteCachedImages().
LLImageRaw* LLTexStaticImageList::getImageRaw | ( | const LLString & | file_name | ) |
Definition at line 2494 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().
LLImageTGA * LLTexStaticImageList::getImageTGA | ( | const LLString & | file_name | ) |
Definition at line 2464 of file lltexlayer.cpp.
References LLStringTable::addString(), gDirUtilp, LLDir::getExpandedFilename(), LL_PATH_CHARACTER, mStaticImageListTGA, mTGABytes, NULL, and sImageNames.
Referenced by LLTexLayerParamAlpha::render().
void LLTexStaticImageList::deleteCachedImages | ( | ) |
Definition at line 2440 of file lltexlayer.cpp.
References llendl, llinfos, mGLBytes, mStaticImageListGL, mStaticImageListTGA, and mTGABytes.
Referenced by LLVOAvatar::deleteCachedImages(), and ~LLTexStaticImageList().
void LLTexStaticImageList::dumpByteCount | ( | ) |
Definition at line 2433 of file lltexlayer.cpp.
References llendl, llinfos, mGLBytes, and mTGABytes.
Referenced by output_statistics().
BOOL LLTexStaticImageList::loadImageRaw | ( | const LLString & | file_name, | |
LLImageRaw * | image_raw | |||
) | [private] |
Definition at line 2535 of file lltexlayer.cpp.
References FALSE, gDirUtilp, LLDir::getExpandedFilename(), and LL_PATH_CHARACTER.
Referenced by getImageGL().
LLStringTable LLTexStaticImageList::sImageNames [static, private] |
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().