LLTexLayerSetBuffer Class Reference

#include <lltexlayer.h>

Inheritance diagram for LLTexLayerSetBuffer:

Inheritance graph
[legend]
Collaboration diagram for LLTexLayerSetBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTexLayerSetBuffer (LLTexLayerSet *owner, S32 width, S32 height, BOOL has_bump)
virtual ~LLTexLayerSetBuffer ()
virtual void preRender (BOOL clear_depth)
virtual void postRender (BOOL success)
virtual BOOL render ()
BOOL updateImmediate ()
virtual void bindTexture ()
void bindBumpTexture (U32 stage)
BOOL isInitialized ()
BOOL needsRender ()
void requestUpdate ()
void requestUpload ()
void cancelUpload ()
BOOL uploadPending ()
BOOL render (S32 x, S32 y, S32 width, S32 height)
void readBackAndUpload (U8 *baked_bump_data)

Static Public Member Functions

static void onTextureUploadComplete (const LLUUID &uuid, void *userdata, S32 result, LLExtStat ext_status)
static void dumpTotalByteCount ()

Private Member Functions

void pushProjection ()
void popProjection ()

Private Attributes

BOOL mNeedsUpdate
BOOL mNeedsUpload
BOOL mUploadPending
LLUUID mUploadID
LLTexLayerSetmTexLayerSet
BOOL mInitialized
LLGLuint mBumpTexName

Static Private Attributes

static S32 sGLByteCount = 0
static S32 sGLBumpByteCount = 0


Detailed Description

Definition at line 205 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexLayerSetBuffer::LLTexLayerSetBuffer ( LLTexLayerSet owner,
S32  width,
S32  height,
BOOL  has_bump 
)

LLTexLayerSetBuffer::~LLTexLayerSetBuffer (  )  [virtual]


Member Function Documentation

void LLTexLayerSetBuffer::preRender ( BOOL  clear_depth  )  [virtual]

Reimplemented from LLDynamicTexture.

Definition at line 222 of file lltexlayer.cpp.

References FALSE, LLDynamicTexture::preRender(), and pushProjection().

Referenced by updateImmediate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSetBuffer::postRender ( BOOL  success  )  [virtual]

Reimplemented from LLDynamicTexture.

Definition at line 231 of file lltexlayer.cpp.

References popProjection(), and LLDynamicTexture::postRender().

Referenced by updateImmediate().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTexLayerSetBuffer::render (  )  [virtual]

BOOL LLTexLayerSetBuffer::updateImmediate (  ) 

Definition at line 305 of file lltexlayer.cpp.

References FALSE, mNeedsUpdate, needsRender(), postRender(), preRender(), render(), and TRUE.

Referenced by LLTexLayerSet::updateComposite().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSetBuffer::bindTexture (  )  [virtual]

Reimplemented from LLDynamicTexture.

Definition at line 552 of file lltexlayer.cpp.

References LLViewerImage::bind(), LLDynamicTexture::bindTexture(), LLViewerImageList::getImage(), gImageList, IMG_DEFAULT, and mInitialized.

Referenced by LLViewerJointMesh::drawShape().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSetBuffer::bindBumpTexture ( U32  stage  ) 

BOOL LLTexLayerSetBuffer::isInitialized (  )  [inline]

Definition at line 217 of file lltexlayer.h.

References mInitialized.

Referenced by LLVOAvatar::updateMeshTextures().

Here is the caller graph for this function:

BOOL LLTexLayerSetBuffer::needsRender (  )  [virtual]

void LLTexLayerSetBuffer::requestUpdate (  ) 

Definition at line 150 of file lltexlayer.cpp.

References mNeedsUpdate, mUploadID, LLUUID::setNull(), and TRUE.

Referenced by LLTexLayerSet::requestUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSetBuffer::requestUpload (  ) 

Definition at line 159 of file lltexlayer.cpp.

References mNeedsUpload, mUploadPending, and TRUE.

Referenced by onTextureUploadComplete(), and LLTexLayerSet::requestUpload().

Here is the caller graph for this function:

void LLTexLayerSetBuffer::cancelUpload (  ) 

Definition at line 168 of file lltexlayer.cpp.

References FALSE, mNeedsUpload, and mUploadPending.

Referenced by LLTexLayerSet::cancelUpload(), and needsRender().

Here is the caller graph for this function:

BOOL LLTexLayerSetBuffer::uploadPending (  )  [inline]

Definition at line 222 of file lltexlayer.h.

References mUploadPending.

Referenced by LLVOAvatar::hasPendingBakedUploads().

Here is the caller graph for this function:

BOOL LLTexLayerSetBuffer::render ( S32  x,
S32  y,
S32  width,
S32  height 
)

void LLTexLayerSetBuffer::readBackAndUpload ( U8 baked_bump_data  ) 

void LLTexLayerSetBuffer::onTextureUploadComplete ( const LLUUID uuid,
void *  userdata,
S32  result,
LLExtStat  ext_status 
) [static]

void LLTexLayerSetBuffer::dumpTotalByteCount (  )  [static]

Definition at line 144 of file lltexlayer.cpp.

References llendl, llinfos, sGLBumpByteCount, and sGLByteCount.

Referenced by output_statistics().

Here is the caller graph for this function:

void LLTexLayerSetBuffer::pushProjection (  )  [private]

Definition at line 177 of file lltexlayer.cpp.

References gGL, LLDynamicTexture::mHeight, LLDynamicTexture::mWidth, and LLGLImmediate::pushMatrix().

Referenced by preRender().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSetBuffer::popProjection (  )  [private]

Definition at line 189 of file lltexlayer.cpp.

References gGL, and LLGLImmediate::popMatrix().

Referenced by postRender().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 235 of file lltexlayer.h.

Referenced by needsRender(), render(), requestUpdate(), and updateImmediate().

Definition at line 236 of file lltexlayer.h.

Referenced by cancelUpload(), needsRender(), readBackAndUpload(), render(), and requestUpload().

Definition at line 238 of file lltexlayer.h.

Referenced by onTextureUploadComplete(), readBackAndUpload(), and requestUpdate().

Definition at line 239 of file lltexlayer.h.

Referenced by needsRender(), onTextureUploadComplete(), readBackAndUpload(), and render().

Definition at line 240 of file lltexlayer.h.

Referenced by bindTexture(), isInitialized(), and render().

S32 LLTexLayerSetBuffer::sGLByteCount = 0 [static, private]

Definition at line 243 of file lltexlayer.h.

Referenced by dumpTotalByteCount(), LLTexLayerSetBuffer(), and ~LLTexLayerSetBuffer().

Definition at line 244 of file lltexlayer.h.

Referenced by dumpTotalByteCount(), LLTexLayerSetBuffer(), and ~LLTexLayerSetBuffer().


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

Generated on Fri May 16 09:11:50 2008 for SecondLife by  doxygen 1.5.5