summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewertexlayer.h')
-rwxr-xr-x[-rw-r--r--]indra/newview/llviewertexlayer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/newview/llviewertexlayer.h b/indra/newview/llviewertexlayer.h
index 959c883da8..aa4bad3422 100644..100755
--- a/indra/newview/llviewertexlayer.h
+++ b/indra/newview/llviewertexlayer.h
@@ -119,25 +119,41 @@ protected:
// Uploads
//--------------------------------------------------------------------
public:
+ // SUNSHINE CLEANUP no upload
void requestUpload();
+ // SUNSHINE CLEANUP no upload
void cancelUpload();
+ // SUNSHINE CLEANUP no upload
BOOL uploadNeeded() const; // We need to upload a new texture
+ // SUNSHINE CLEANUP no upload
BOOL uploadInProgress() const; // We have started uploading a new texture and are awaiting the result
+ // SUNSHINE CLEANUP no upload
BOOL uploadPending() const; // We are expecting a new texture to be uploaded at some point
+ // SUNSHINE CLEANUP no upload
static void onTextureUploadComplete(const LLUUID& uuid,
void* userdata,
S32 result, LLExtStat ext_status);
protected:
+ // SUNSHINE CLEANUP no upload
BOOL isReadyToUpload() const;
+ // SUNSHINE CLEANUP no upload
void doUpload(); // Does a read back and upload.
+ // SUNSHINE CLEANUP no upload
void conditionalRestartUploadTimer();
private:
+ // SUNSHINE CLEANUP no upload
BOOL mNeedsUpload; // Whether we need to send our baked textures to the server
+ // SUNSHINE CLEANUP no upload
U32 mNumLowresUploads; // Number of times we've sent a lowres version of our baked textures to the server
+ // SUNSHINE CLEANUP no upload
BOOL mUploadPending; // Whether we have received back the new baked textures
+ // SUNSHINE CLEANUP no upload
LLUUID mUploadID; // The current upload process (null if none).
+ // SUNSHINE CLEANUP no upload
LLFrameTimer mNeedsUploadTimer; // Tracks time since upload was requested and performed.
+ // SUNSHINE CLEANUP no upload
S32 mUploadFailCount; // Number of consecutive upload failures
+ // SUNSHINE CLEANUP no upload
LLFrameTimer mUploadRetryTimer; // Tracks time since last upload failure.
//--------------------------------------------------------------------
@@ -162,6 +178,7 @@ private:
//
// Used by LLTexLayerSetBuffer for a callback.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// SUNSHINE CLEANUP no upload
struct LLBakedUploadData
{
LLBakedUploadData(const LLVOAvatarSelf* avatar,