Merge branch 'future' of git://github.com/siana/SingularityViewer.git into BatchIndexing
Conflicts: indra/newview/hippopanelgrids.cpp indra/newview/llstartup.cpp indra/newview/llsurface.cpp indra/newview/llviewermessage.cpp indra/newview/llviewerparceloverlay.cpp indra/newview/llviewertexturelist.cpp indra/newview/llworld.cpp
This commit is contained in:
@@ -40,7 +40,9 @@
|
||||
#include "llhost.h"
|
||||
#include "llgltypes.h"
|
||||
#include "llrender.h"
|
||||
//#include "llmetricperformancetester.h"
|
||||
#if 0
|
||||
#include "llmetricperformancetester.h"
|
||||
#endif
|
||||
|
||||
#include <map>
|
||||
#include <list>
|
||||
@@ -620,14 +622,16 @@ class LLViewerMediaTexture : public LLViewerTexture
|
||||
{
|
||||
#if NEW_MEDIA_TEXTURE
|
||||
protected:
|
||||
*virtual*/ ~LLViewerMediaTexture() ;
|
||||
/*virtual*/ ~LLViewerMediaTexture() ;
|
||||
|
||||
public:
|
||||
LLViewerMediaTexture(const LLUUID& id, BOOL usemipmaps = TRUE, LLImageGL* gl_image = NULL) ;
|
||||
|
||||
/*virtual*/* S8 getType() const;
|
||||
#endif
|
||||
/*virtual*/ S8 getType() const;
|
||||
#endif //NEW_MEDIA_TEXTURE
|
||||
#if !NEW_MEDIA_TEXTURE
|
||||
public:
|
||||
#endif //!NEW_MEDIA_TEXTURE
|
||||
void reinit(BOOL usemipmaps = TRUE);
|
||||
|
||||
BOOL getUseMipMaps() {return mUseMipMaps ; }
|
||||
@@ -642,7 +646,7 @@ public:
|
||||
void invalidateMediaImpl() ;
|
||||
|
||||
void addMediaToFace(LLFace* facep) ;
|
||||
void removeMediaFromFace(LLFace* facep) ;*/
|
||||
void removeMediaFromFace(LLFace* facep) ;
|
||||
|
||||
/*virtual*/ void addFace(LLFace* facep) ;
|
||||
/*virtual*/ void removeFace(LLFace* facep) ;
|
||||
@@ -678,7 +682,7 @@ public:
|
||||
private:
|
||||
typedef std::map< LLUUID, LLPointer<LLViewerMediaTexture> > media_map_t ;
|
||||
static media_map_t sMediaMap ;
|
||||
#endif
|
||||
#endif //NEW_MEDIA_TEXTURE
|
||||
};
|
||||
|
||||
//just an interface class, do not create instance from this class.
|
||||
@@ -690,7 +694,9 @@ private:
|
||||
|
||||
public:
|
||||
//texture pipeline tester
|
||||
//static LLTexturePipelineTester* sTesterp ;
|
||||
#if 0
|
||||
static LLTexturePipelineTester* sTesterp ;
|
||||
#endif
|
||||
|
||||
//returns NULL if tex is not a LLViewerFetchedTexture nor derived from LLViewerFetchedTexture.
|
||||
static LLViewerFetchedTexture* staticCastToFetchedTexture(LLTexture* tex, BOOL report_error = FALSE) ;
|
||||
@@ -708,7 +714,7 @@ public:
|
||||
//"get-texture" will create a new texture if the texture does not exist.
|
||||
//
|
||||
static LLViewerMediaTexture* getMediaTexture(const LLUUID& id, BOOL usemipmaps = TRUE, LLImageGL* gl_image = NULL) ;
|
||||
#endif
|
||||
#endif //NEW_MEDIA_TEXTURE
|
||||
|
||||
static LLPointer<LLViewerTexture> getLocalTexture(BOOL usemipmaps = TRUE, BOOL generate_gl_tex = TRUE);
|
||||
static LLPointer<LLViewerTexture> getLocalTexture(const LLUUID& id, BOOL usemipmaps, BOOL generate_gl_tex = TRUE) ;
|
||||
@@ -839,8 +845,8 @@ private:
|
||||
S32 mInstantPerformanceListCounter ;
|
||||
};
|
||||
|
||||
/*virtual*/ LLMetricPerformanceTester::LLTestSession* loadTestSession(LLSD* log) ;
|
||||
/*virtual*/ LLMetricPerformanceTesterWithSession::LLTestSession* loadTestSession(LLSD* log) ;
|
||||
/*virtual*/ void compareTestSessions(std::ofstream* os) ;
|
||||
};
|
||||
#endif //0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user