LLBumpImageList Class Reference

#include <lldrawpoolbump.h>

List of all members.

Public Member Functions

 LLBumpImageList ()
 ~LLBumpImageList ()
void init ()
void shutdown ()
void destroyGL ()
void restoreGL ()
void updateImages ()
LLImageGLgetBrightnessDarknessImage (LLViewerImage *src_image, U8 bump_code)
void addTextureStats (U8 bump, const LLUUID &base_image_id, F32 pixel_area, F32 texel_area_ratio, F32 cos_center_angle)

Static Public Member Functions

static void onSourceBrightnessLoaded (BOOL success, LLViewerImage *src_vi, LLImageRaw *src, LLImageRaw *aux_src, S32 discard_level, BOOL final, void *userdata)
static void onSourceDarknessLoaded (BOOL success, LLViewerImage *src_vi, LLImageRaw *src, LLImageRaw *aux_src, S32 discard_level, BOOL final, void *userdata)

Private Types

typedef std::map< LLUUID,
LLPointer< LLImageGL > > 
bump_image_map_t

Static Private Member Functions

static void onSourceLoaded (BOOL success, LLViewerImage *src_vi, LLImageRaw *src, LLUUID &source_asset_id, EBumpEffect bump)

Private Attributes

bump_image_map_t mBrightnessEntries
bump_image_map_t mDarknessEntries


Detailed Description

Definition at line 119 of file lldrawpoolbump.h.


Member Typedef Documentation

Definition at line 144 of file lldrawpoolbump.h.


Constructor & Destructor Documentation

LLBumpImageList::LLBumpImageList (  )  [inline]

Definition at line 122 of file lldrawpoolbump.h.

LLBumpImageList::~LLBumpImageList (  ) 

Definition at line 777 of file lldrawpoolbump.cpp.

References llassert, mBrightnessEntries, and mDarknessEntries.


Member Function Documentation

void LLBumpImageList::init ( void   ) 

Definition at line 748 of file lldrawpoolbump.cpp.

References LLStandardBumpmap::init(), llassert, mBrightnessEntries, and mDarknessEntries.

Referenced by LLViewerWindow::LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::shutdown (  ) 

Definition at line 756 of file lldrawpoolbump.cpp.

References mBrightnessEntries, mDarknessEntries, and LLStandardBumpmap::shutdown().

Referenced by LLViewerWindow::~LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::destroyGL (  ) 

Definition at line 763 of file lldrawpoolbump.cpp.

References LLStandardBumpmap::destroyGL(), mBrightnessEntries, and mDarknessEntries.

Referenced by LLViewerWindow::stopGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::restoreGL (  ) 

Definition at line 770 of file lldrawpoolbump.cpp.

References LLStandardBumpmap::restoreGL().

Referenced by LLViewerWindow::restoreGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::updateImages (  ) 

Definition at line 798 of file lldrawpoolbump.cpp.

References LLImageGL::destroyGLTexture(), FALSE, LLImageGL::getBoundRecently(), LLImageGL::getHasGLTexture(), mBrightnessEntries, mDarknessEntries, and TRUE.

Referenced by display().

Here is the call graph for this function:

Here is the caller graph for this function:

LLImageGL * LLBumpImageList::getBrightnessDarknessImage ( LLViewerImage src_image,
U8  bump_code 
)

void LLBumpImageList::addTextureStats ( U8  bump,
const LLUUID base_image_id,
F32  pixel_area,
F32  texel_area_ratio,
F32  cos_center_angle 
)

Definition at line 786 of file lldrawpoolbump.cpp.

References LLViewerImage::addTextureStats(), LLStandardBumpmap::mImage, and TEM_BUMP_MASK.

Referenced by LLDrawPoolBump::bindBumpMap().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::onSourceBrightnessLoaded ( BOOL  success,
LLViewerImage src_vi,
LLImageRaw src,
LLImageRaw aux_src,
S32  discard_level,
BOOL  final,
void *  userdata 
) [static]

Definition at line 911 of file lldrawpoolbump.cpp.

References BE_BRIGHTNESS, and onSourceLoaded().

Referenced by getBrightnessDarknessImage().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::onSourceDarknessLoaded ( BOOL  success,
LLViewerImage src_vi,
LLImageRaw src,
LLImageRaw aux_src,
S32  discard_level,
BOOL  final,
void *  userdata 
) [static]

Definition at line 922 of file lldrawpoolbump.cpp.

References BE_DARKNESS, and onSourceLoaded().

Referenced by getBrightnessDarknessImage().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLBumpImageList::onSourceLoaded ( BOOL  success,
LLViewerImage src_vi,
LLImageRaw src,
LLUUID source_asset_id,
EBumpEffect  bump 
) [static, private]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:39:33 2008 for SecondLife by  doxygen 1.5.5