Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git
This commit is contained in:
@@ -65,9 +65,9 @@ LLImageGL* LLImageGL::sDefaultGLTexture = NULL ;
|
||||
|
||||
std::set<LLImageGL*> LLImageGL::sImageList;
|
||||
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
//The below for texture auditing use only
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
//-----------------------
|
||||
//debug use
|
||||
BOOL gAuditTexture = FALSE ;
|
||||
@@ -84,11 +84,11 @@ std::vector<S32> LLImageGL::sTextureMemByCategory;
|
||||
std::vector<S32> LLImageGL::sTextureMemByCategoryBound ;
|
||||
std::vector<S32> LLImageGL::sTextureCurMemByCategoryBound ;
|
||||
//------------------------
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
//End for texture auditing use only
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
|
||||
//**************************************************************************************
|
||||
// **************************************************************************************
|
||||
//below are functions for debug use
|
||||
//do not delete them even though they are not currently being used.
|
||||
void check_all_images()
|
||||
@@ -167,7 +167,7 @@ void LLImageGL::checkTexSize(bool forced) const
|
||||
}
|
||||
}
|
||||
//end of debug functions
|
||||
//**************************************************************************************
|
||||
// **************************************************************************************
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
BOOL is_little_endian()
|
||||
|
||||
@@ -257,9 +257,9 @@ private:
|
||||
//can be removed if we do not use that function at all.
|
||||
static BOOL sAllowReadBackRaw ;
|
||||
//
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
//The below for texture auditing use only
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
private:
|
||||
S32 mCategory ;
|
||||
public:
|
||||
@@ -290,9 +290,9 @@ public:
|
||||
static std::vector<S32> sTextureMemByCategoryBound ;
|
||||
static std::vector<S32> sTextureCurMemByCategoryBound ;
|
||||
//----------------------------------------
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
//End of definitions for texture auditing use only
|
||||
//****************************************************************************************************
|
||||
// ****************************************************************************************************
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ LLPostProcess::LLPostProcess(void) :
|
||||
}
|
||||
|
||||
setSelectedEffect("default");
|
||||
//*/
|
||||
// */
|
||||
}
|
||||
|
||||
LLPostProcess::~LLPostProcess(void)
|
||||
|
||||
@@ -88,8 +88,6 @@ BOOL LLVertexBuffer::sPreferStreamDraw = FALSE;
|
||||
|
||||
const U32 FENCE_WAIT_TIME_NANOSECONDS = 10000; //1 ms
|
||||
|
||||
#undef GL_ARB_sync
|
||||
|
||||
class LLGLSyncFence : public LLGLFence
|
||||
{
|
||||
public:
|
||||
@@ -2115,7 +2113,7 @@ void LLVertexBuffer::setBuffer(U32 data_mask)
|
||||
}
|
||||
|
||||
// virtual (default)
|
||||
void LLVertexBuffer::setupVertexBuffer(U32 data_mask) const
|
||||
void LLVertexBuffer::setupVertexBuffer(U32 data_mask)
|
||||
{
|
||||
LLMemType mt(LLMemType::MTYPE_VERTEX_DATA);
|
||||
stop_glerror();
|
||||
|
||||
@@ -192,7 +192,7 @@ protected:
|
||||
|
||||
virtual ~LLVertexBuffer(); // use unref()
|
||||
|
||||
virtual void setupVertexBuffer(U32 data_mask) const; // pure virtual, called from mapBuffer()
|
||||
virtual void setupVertexBuffer(U32 data_mask); // pure virtual, called from mapBuffer()
|
||||
void setupVertexArray();
|
||||
|
||||
void genBuffer(U32 size);
|
||||
|
||||
Reference in New Issue
Block a user