diff options
author | Armin Weatherwax | 2010-09-07 13:41:02 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:42:40 +0200 |
commit | 087e15e89930d51c3964329befb273ae3b2d330d (patch) | |
tree | 684c49a772b0097ed88a25660e1fd3dd10b264cc /linden/indra/newview/llviewerobject.h | |
parent | Robin Cornelius: fixes for building plugins on Linux 64bit (diff) | |
download | meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.zip meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.gz meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.bz2 meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.xz |
port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewer 2 texture system
Diffstat (limited to 'linden/indra/newview/llviewerobject.h')
-rw-r--r-- | linden/indra/newview/llviewerobject.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerobject.h b/linden/indra/newview/llviewerobject.h index 7f8bd63..41c406a 100644 --- a/linden/indra/newview/llviewerobject.h +++ b/linden/indra/newview/llviewerobject.h | |||
@@ -74,6 +74,7 @@ class LLViewerPartSourceScript; | |||
74 | class LLViewerRegion; | 74 | class LLViewerRegion; |
75 | class LLViewerObjectMedia; | 75 | class LLViewerObjectMedia; |
76 | class LLVOInventoryListener; | 76 | class LLVOInventoryListener; |
77 | class LLVOAvatar; | ||
77 | 78 | ||
78 | typedef enum e_object_update_type | 79 | typedef enum e_object_update_type |
79 | { | 80 | { |
@@ -116,7 +117,7 @@ public: | |||
116 | 117 | ||
117 | //============================================================================ | 118 | //============================================================================ |
118 | 119 | ||
119 | class LLViewerObject : public LLPrimitive, public LLRefCount | 120 | class LLViewerObject : public LLPrimitive, public LLRefCount, public LLGLUpdate |
120 | { | 121 | { |
121 | protected: | 122 | protected: |
122 | ~LLViewerObject(); // use unref() | 123 | ~LLViewerObject(); // use unref() |
@@ -143,6 +144,8 @@ public: | |||
143 | BOOL isOrphaned() const { return mOrphaned; } | 144 | BOOL isOrphaned() const { return mOrphaned; } |
144 | BOOL isParticleSource() const; | 145 | BOOL isParticleSource() const; |
145 | 146 | ||
147 | virtual LLVOAvatar* asAvatar(); | ||
148 | |||
146 | static void initVOClasses(); | 149 | static void initVOClasses(); |
147 | static void cleanupVOClasses(); | 150 | static void cleanupVOClasses(); |
148 | 151 | ||
@@ -189,11 +192,12 @@ public: | |||
189 | S32 getNumFaces() const { return mNumFaces; } | 192 | S32 getNumFaces() const { return mNumFaces; } |
190 | 193 | ||
191 | // Graphical stuff for objects - maybe broken out into render class later? | 194 | // Graphical stuff for objects - maybe broken out into render class later? |
192 | virtual void updateTextures(); | 195 | virtual void updateTextures(LLAgent &agent); |
193 | virtual void boostTexturePriority(BOOL boost_children = TRUE); // When you just want to boost priority of this object | 196 | virtual void boostTexturePriority(BOOL boost_children = TRUE); // When you just want to boost priority of this object |
194 | 197 | ||
195 | virtual LLDrawable* createDrawable(LLPipeline *pipeline); | 198 | virtual LLDrawable* createDrawable(LLPipeline *pipeline); |
196 | virtual BOOL updateGeometry(LLDrawable *drawable); | 199 | virtual BOOL updateGeometry(LLDrawable *drawable); |
200 | virtual void updateGL(); | ||
197 | virtual void updateFaceSize(S32 idx); | 201 | virtual void updateFaceSize(S32 idx); |
198 | virtual BOOL updateLOD(); | 202 | virtual BOOL updateLOD(); |
199 | virtual BOOL setDrawableParent(LLDrawable* parentp); | 203 | virtual BOOL setDrawableParent(LLDrawable* parentp); |
@@ -218,6 +222,7 @@ public: | |||
218 | 222 | ||
219 | virtual BOOL isFlexible() const { return FALSE; } | 223 | virtual BOOL isFlexible() const { return FALSE; } |
220 | virtual BOOL isSculpted() const { return FALSE; } | 224 | virtual BOOL isSculpted() const { return FALSE; } |
225 | virtual BOOL hasLightTexture() const { return FALSE; } | ||
221 | 226 | ||
222 | // This method returns true if the object is over land owned by | 227 | // This method returns true if the object is over land owned by |
223 | // the agent. | 228 | // the agent. |
@@ -468,7 +473,7 @@ public: | |||
468 | 473 | ||
469 | virtual S32 getLOD() const { return 3; } | 474 | virtual S32 getLOD() const { return 3; } |
470 | virtual U32 getPartitionType() const; | 475 | virtual U32 getPartitionType() const; |
471 | virtual void dirtySpatialGroup() const; | 476 | virtual void dirtySpatialGroup(BOOL priority = FALSE) const; |
472 | virtual void dirtyMesh(); | 477 | virtual void dirtyMesh(); |
473 | 478 | ||
474 | virtual LLNetworkData* getParameterEntry(U16 param_type) const; | 479 | virtual LLNetworkData* getParameterEntry(U16 param_type) const; |