summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-06-26 22:27:24 -0600
committerXiaohong Bao <bao@lindenlab.com>2012-06-26 22:27:24 -0600
commit0730b24d7cb0a0ce0d6d08bc4e98387124bf03d0 (patch)
tree06a5f163a40800f387f9b4a03b6b71e23d02b244 /indra/newview/lltexturefetch.h
parent74d4f8af01358c0975351f90f044c03bc9c50c4c (diff)
fix merge conflicts: v-r to drano
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rw-r--r--indra/newview/lltexturefetch.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h
index 8c3d762319..f5072a79f1 100644
--- a/indra/newview/lltexturefetch.h
+++ b/indra/newview/lltexturefetch.h
@@ -209,7 +209,6 @@ public:
// reporting due to either startup or a problem POSTing data.
static volatile bool svMetricsDataBreak;
-<<<<<<< local
public:
//debug use
enum e_tex_source
@@ -218,37 +217,26 @@ public:
FROM_HTTP_ONLY,
INVALID_SOURCE
};
-=======
->>>>>>> other
private:
//debug use
LLTextureFetchDebugger* mFetchDebugger;
bool mFetcherLocked;
-<<<<<<< local
e_tex_source mFetchSource;
e_tex_source mOriginFetchSource;
-=======
->>>>>>> other
public:
//debug use
LLTextureFetchDebugger* getFetchDebugger() { return mFetchDebugger;}
void lockFetcher(bool lock) { mFetcherLocked = lock;}
-<<<<<<< local
void setLoadSource(e_tex_source source) {mFetchSource = source;}
void resetLoadSource() {mFetchSource = mOriginFetchSource;}
bool canLoadFromCache() { return mFetchSource != FROM_HTTP_ONLY;}
-=======
->>>>>>> other
};
//debug use
-<<<<<<< local
class LLViewerFetchedTexture;
-=======
->>>>>>> other
class LLTextureFetchDebugger
{
friend class LLTextureFetch;
@@ -260,10 +248,7 @@ public:
enum e_debug_state
{
IDLE = 0,
-<<<<<<< local
START_DEBUG,
-=======
->>>>>>> other
READ_CACHE,
WRITE_CACHE,
DECODING,
@@ -326,22 +311,15 @@ private:
F32 mTotalFetchingTime;
F32 mRefetchVisCacheTime;
F32 mRefetchVisHTTPTime;
-<<<<<<< local
F32 mRefetchAllCacheTime;
F32 mRefetchAllHTTPTime;
-=======
->>>>>>> other
LLTimer mTimer;
LLTextureFetch* mFetcher;
LLTextureCache* mTextureCache;
LLImageDecodeThread* mImageDecodeThread;
-<<<<<<< local
LLCurlTextureRequest* mCurlGetRequest;
-=======
- LLCurlRequest* mCurlGetRequest;
->>>>>>> other
S32 mNumFetchedTextures;
S32 mNumCacheHits;
@@ -355,71 +333,39 @@ private:
U32 mRenderedDecodedData;
U32 mFetchedPixels;
U32 mRenderedPixels;
-<<<<<<< local
U32 mRefetchedVisData;
U32 mRefetchedVisPixels;
U32 mRefetchedAllData;
U32 mRefetchedAllPixels;
-=======
- U32 mRefetchedData;
- U32 mRefetchedPixels;
->>>>>>> other
BOOL mFreezeHistory;
-<<<<<<< local
BOOL mStopDebug;
BOOL mClearHistory;
BOOL mRefetchNonVis;
-=======
->>>>>>> other
std::string mHTTPUrl;
S32 mNbCurlRequests;
S32 mNbCurlCompleted;
-<<<<<<< local
std::map< LLPointer<LLViewerFetchedTexture>, std::vector<S32> > mRefetchList;
std::vector< LLPointer<LLViewerFetchedTexture> > mTempTexList;
S32 mTempIndex;
S32 mHistoryListIndex;
-=======
->>>>>>> other
public:
-<<<<<<< local
bool update(F32 max_time); //called in the main thread once per frame
-=======
- bool update(); //called in the main thread once per frame
->>>>>>> other
//fetching history
void clearHistory();
void addHistoryEntry(LLTextureFetchWorker* worker);
-<<<<<<< local
void setCurlGetRequest(LLCurlTextureRequest* request) { mCurlGetRequest = request;}
LLCurlTextureRequest* getCurlGetRequest() { return mCurlGetRequest;}
-=======
- void setCurlGetRequest(LLCurlRequest* request) { mCurlGetRequest = request;}
-
- void startDebug();
- void stopDebug(); //stop everything
- void debugCacheRead();
- void debugCacheWrite();
- void debugHTTP();
- void debugDecoder();
- void debugGLTextureCreation();
- void debugRefetchVisibleFromCache();
- void debugRefetchVisibleFromHTTP();
->>>>>>> other
-<<<<<<< local
void startWork(e_debug_state state);
void setStopDebug() {mStopDebug = TRUE;}
void tryToStopDebug(); //stop everything
-=======
->>>>>>> other
void callbackCacheRead(S32 id, bool success, LLImageFormatted* image,
S32 imagesize, BOOL islocal);
void callbackCacheWrite(S32 id, bool success);
@@ -443,15 +389,10 @@ public:
U32 getRenderedDecodedData() {return mRenderedDecodedData;}
U32 getFetchedPixels() {return mFetchedPixels;}
U32 getRenderedPixels() {return mRenderedPixels;}
-<<<<<<< local
U32 getRefetchedVisData() {return mRefetchedVisData;}
U32 getRefetchedVisPixels() {return mRefetchedVisPixels;}
U32 getRefetchedAllData() {return mRefetchedAllData;}
U32 getRefetchedAllPixels() {return mRefetchedAllPixels;}
-=======
- U32 getRefetchedData() {return mRefetchedData;}
- U32 getRefetchedPixels() {return mRefetchedPixels;}
->>>>>>> other
F32 getCacheReadTime() {return mCacheReadTime;}
F32 getCacheWriteTime() {return mCacheWriteTime;}
@@ -461,21 +402,15 @@ public:
F32 getTotalFetchingTime() {return mTotalFetchingTime;}
F32 getRefetchVisCacheTime() {return mRefetchVisCacheTime;}
F32 getRefetchVisHTTPTime() {return mRefetchVisHTTPTime;}
-<<<<<<< local
F32 getRefetchAllCacheTime() {return mRefetchAllCacheTime;}
F32 getRefetchAllHTTPTime() {return mRefetchAllHTTPTime;}
-=======
->>>>>>> other
private:
void init();
void clearTextures();//clear fetching results of all textures.
void clearCache();
-<<<<<<< local
void makeRefetchList();
void scanRefetchList();
-=======
->>>>>>> other
void lockFetcher();
void unlockFetcher();
@@ -488,7 +423,6 @@ private:
S32 fillCurlQueue();
-<<<<<<< local
void startDebug();
void debugCacheRead();
void debugCacheWrite();
@@ -503,8 +437,6 @@ private:
bool processStartDebug(F32 max_time);
bool processGLCreation(F32 max_time);
-=======
->>>>>>> other
private:
static bool sDebuggerEnabled;
public: