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:
@@ -50,7 +50,7 @@
|
||||
#include "llpanelinput.h"
|
||||
#include "llsky.h"
|
||||
#include "llvieweraudio.h"
|
||||
#include "llviewerimagelist.h"
|
||||
#include "llviewertexturelist.h"
|
||||
#include "llviewerthrottle.h"
|
||||
#include "llviewerwindow.h"
|
||||
#include "llvoavatar.h"
|
||||
@@ -75,6 +75,7 @@
|
||||
#include "llrender.h"
|
||||
#include "llfloaterchat.h"
|
||||
#include "llviewerobjectlist.h"
|
||||
#include "lldrawpoolbump.h"
|
||||
#include "emeraldboobutils.h"
|
||||
|
||||
#ifdef TOGGLE_HACKED_GODLIKE_VIEWER
|
||||
@@ -120,6 +121,8 @@ static bool handleTerrainDetailChanged(const LLSD& newvalue)
|
||||
|
||||
static bool handleSetShaderChanged(const LLSD& newvalue)
|
||||
{
|
||||
gBumpImageList.destroyGL();
|
||||
gBumpImageList.restoreGL();
|
||||
LLViewerShaderMgr::instance()->setShaders();
|
||||
return true;
|
||||
}
|
||||
@@ -261,7 +264,7 @@ static bool handleMaxPartCountChanged(const LLSD& newvalue)
|
||||
|
||||
static bool handleVideoMemoryChanged(const LLSD& newvalue)
|
||||
{
|
||||
gImageList.updateMaxResidentTexMem(newvalue.asInteger());
|
||||
gTextureList.updateMaxResidentTexMem(newvalue.asInteger());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user