Innitial commit of experimental v2 texture system port work. Compiles and runs on windows, at least. Fixing bugs as they come.

Need to test:
localassetbrowser
preview related floaters
hgfloatertexteditor
maps
media textures! Currently very hacky
web browser
alpha masks on avatars
bumpmaps
Are all sky components appearing?
LLViewerDynamicTexture (texture baking, browser, animated textures, anim previews, etc)
Snapshot related features
Customize avatar
vfs floater
UI textures in general
Texture priority issues
This commit is contained in:
Shyotl
2011-03-31 03:22:01 -05:00
parent a028c4edba
commit e756140e1d
212 changed files with 8149 additions and 4445 deletions

View File

@@ -42,7 +42,7 @@
#include "llstrider.h"
#include "llviewervisualparam.h"
#include "llframetimer.h"
#include "llviewerimage.h"
#include "llviewertexture.h"
class LLViewerJointMesh;
class LLPolyMesh;
@@ -51,9 +51,10 @@ class LLViewerObject;
//-----------------------------------------------------------------------------
// LLVisualParamHint
//-----------------------------------------------------------------------------
class LLVisualParamHint
: public LLDynamicTexture
class LLVisualParamHint : public LLViewerDynamicTexture
{
protected:
virtual ~LLVisualParamHint();
public:
LLVisualParamHint(
S32 pos_x, S32 pos_y,
@@ -61,7 +62,8 @@ public:
LLViewerJointMesh *mesh,
LLViewerVisualParam *param,
F32 param_weight);
virtual ~LLVisualParamHint();
/*virtual*/ S8 getType() const ;
BOOL needsRender();
void preRender(BOOL clear_depth);
@@ -99,11 +101,14 @@ protected:
};
// this class resets avatar data at the end of an update cycle
class LLVisualParamReset : public LLDynamicTexture
class LLVisualParamReset : public LLViewerDynamicTexture
{
protected:
/*virtual */ ~LLVisualParamReset(){}
public:
LLVisualParamReset();
/*virtual */ BOOL render();
/*virtual*/ S8 getType() const ;
static BOOL sDirty;
};