diff options
Diffstat (limited to 'indra/newview/lltexturefetch.h')
| -rwxr-xr-x | indra/newview/lltexturefetch.h | 16 | 
1 files changed, 11 insertions, 5 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h index 902a3d7a25..5c23f3bbc0 100755 --- a/indra/newview/lltexturefetch.h +++ b/indra/newview/lltexturefetch.h @@ -4,7 +4,7 @@   *   * $LicenseInfo:firstyear=2000&license=viewerlgpl$   * Second Life Viewer Source Code - * Copyright (C) 2012, Linden Research, Inc. + * Copyright (C) 2012-2013, Linden Research, Inc.   *    * This library is free software; you can redistribute it and/or   * modify it under the terms of the GNU Lesser General Public @@ -95,7 +95,8 @@ public:  	// Threads:  T*  	bool getRequestFinished(const LLUUID& id, S32& discard_level, -							LLPointer<LLImageRaw>& raw, LLPointer<LLImageRaw>& aux); +							LLPointer<LLImageRaw>& raw, LLPointer<LLImageRaw>& aux, +							LLCore::HttpStatus& last_http_get_status);  	// Threads:  T*  	bool updateRequestPriority(const LLUUID& id, F32 priority); @@ -351,6 +352,7 @@ private:  	// LLCurl interfaces used in the past.  	LLCore::HttpRequest *				mHttpRequest;					// Ttf  	LLCore::HttpOptions *				mHttpOptions;					// Ttf +	LLCore::HttpOptions *				mHttpOptionsWithHeaders;		// Ttf  	LLCore::HttpHeaders *				mHttpHeaders;					// Ttf  	LLCore::HttpHeaders *				mHttpMetricsHeaders;			// Ttf  	LLCore::HttpRequest::policy_t		mHttpPolicyClass;				// T* @@ -395,6 +397,9 @@ private:  	e_tex_source mFetchSource;  	e_tex_source mOriginFetchSource; +	// Retry logic +	//LLAdaptiveRetryPolicy mFetchRetryPolicy; +	  public:  	//debug use  	LLTextureFetchDebugger* getFetchDebugger() { return mFetchDebugger;} @@ -474,8 +479,9 @@ private:  	typedef std::map<LLCore::HttpHandle, S32> handle_fetch_map_t;  	handle_fetch_map_t mHandleToFetchIndex; -	 -	e_debug_state mState; + +	void setDebuggerState(e_debug_state new_state) { mDebuggerState = new_state; } +	e_debug_state mDebuggerState;  	F32 mCacheReadTime;  	F32 mCacheWriteTime; @@ -548,7 +554,7 @@ public:  	void callbackDecoded(S32 id, bool success, LLImageRaw* raw, LLImageRaw* aux);  	void callbackHTTP(FetchEntry & fetch, LLCore::HttpResponse * response); -	e_debug_state getState()             {return mState;} +	e_debug_state getState()             {return mDebuggerState;}  	S32  getNumFetchedTextures()         {return mNumFetchedTextures;}  	S32  getNumFetchingRequests()        {return mFetchingHistory.size();}  	S32  getNumCacheHits()               {return mNumCacheHits;}  | 
