Initial moap commit. /VERY/ WIP. Primarily committed to clean up unstaged changes. Do not run this, even if it may compile, as it will NOT work (for a myriad of reasons)!
This commit is contained in:
@@ -518,7 +518,6 @@ private:
|
||||
//
|
||||
class LLViewerMediaTexture : public LLViewerTexture
|
||||
{
|
||||
#if NEW_MEDIA_TEXTURE
|
||||
protected:
|
||||
/*virtual*/ ~LLViewerMediaTexture() ;
|
||||
|
||||
@@ -526,16 +525,11 @@ public:
|
||||
LLViewerMediaTexture(const LLUUID& id, BOOL usemipmaps = TRUE, LLImageGL* gl_image = NULL) ;
|
||||
|
||||
/*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 ; }
|
||||
void setUseMipMaps(BOOL mipmap) ;
|
||||
|
||||
#if NEW_MEDIA_TEXTURE
|
||||
void setPlaying(BOOL playing) ;
|
||||
BOOL isPlaying() const {return mIsPlaying;}
|
||||
void setMediaImpl() ;
|
||||
@@ -580,7 +574,6 @@ public:
|
||||
private:
|
||||
typedef std::map< LLUUID, LLPointer<LLViewerMediaTexture> > media_map_t ;
|
||||
static media_map_t sMediaMap ;
|
||||
#endif //NEW_MEDIA_TEXTURE
|
||||
};
|
||||
|
||||
//just an interface class, do not create instance from this class.
|
||||
@@ -604,17 +597,15 @@ public:
|
||||
//
|
||||
static LLViewerTexture* findTexture(const LLUUID& id) ;
|
||||
static LLViewerFetchedTexture* findFetchedTexture(const LLUUID& id) ;
|
||||
#if NEW_MEDIA_TEXTURE
|
||||
static LLViewerMediaTexture* findMediaTexture(const LLUUID& id) ;
|
||||
|
||||
|
||||
static LLViewerMediaTexture* createMediaTexture(const LLUUID& id, BOOL usemipmaps = TRUE, LLImageGL* gl_image = NULL) ;
|
||||
|
||||
//
|
||||
//"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 //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) ;
|
||||
static LLPointer<LLViewerTexture> getLocalTexture(const LLImageRaw* raw, BOOL usemipmaps) ;
|
||||
|
||||
Reference in New Issue
Block a user