diff options
author | David Seikel | 2011-03-20 17:02:40 +1000 |
---|---|---|
committer | David Seikel | 2011-03-20 17:02:40 +1000 |
commit | 8c15fcec590c68337b8aa05d17793cd3c2a48068 (patch) | |
tree | e233ecfa79c6fe22f47dc0eba44c0300dc0daa71 /linden/indra/newview/llviewerimage.h | |
parent | The half arsed IRC support was broken. It's still not working, though it wor... (diff) | |
parent | Merge remote-tracking branch 'jacek/exp' into exp (diff) | |
download | meta-impy-8c15fcec590c68337b8aa05d17793cd3c2a48068.zip meta-impy-8c15fcec590c68337b8aa05d17793cd3c2a48068.tar.gz meta-impy-8c15fcec590c68337b8aa05d17793cd3c2a48068.tar.bz2 meta-impy-8c15fcec590c68337b8aa05d17793cd3c2a48068.tar.xz |
Merge remote-tracking branch 'mccabe/exp' into weekly
Conflicts: (Keeping these around as a record, there was some strangeness.
.gitignore
linden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp
linden/indra/newview/llfloaterregioninfo.cpp
linden/indra/newview/llfloatertos.cpp
linden/indra/newview/llpanellogin.cpp
linden/indra/newview/skins/default/html/en-us/loading-error/index.html
linden/indra/newview/skins/default/html/en-us/loading/loading.html
linden/indra/newview/skins/default/xui/en-us/floater_about.xml
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llviewerimage.h')
-rw-r--r-- | linden/indra/newview/llviewerimage.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewerimage.h b/linden/indra/newview/llviewerimage.h index 3bee51c..c2e3303 100644 --- a/linden/indra/newview/llviewerimage.h +++ b/linden/indra/newview/llviewerimage.h | |||
@@ -51,6 +51,7 @@ typedef void (*loaded_callback_func)( BOOL success, LLViewerImage *src_vi, LLIma | |||
51 | 51 | ||
52 | class LLVFile; | 52 | class LLVFile; |
53 | class LLMessageSystem; | 53 | class LLMessageSystem; |
54 | class LLVOVolume; | ||
54 | 55 | ||
55 | class LLLoadedCallbackEntry | 56 | class LLLoadedCallbackEntry |
56 | { | 57 | { |
@@ -209,6 +210,9 @@ public: | |||
209 | INVALID_DISCARD_LEVEL = 0x7fff | 210 | INVALID_DISCARD_LEVEL = 0x7fff |
210 | }; | 211 | }; |
211 | 212 | ||
213 | typedef std::vector<LLFace*> ll_face_list_t; | ||
214 | typedef std::vector<LLVOVolume*> ll_volume_list_t; | ||
215 | |||
212 | protected: | 216 | protected: |
213 | /*virtual*/ ~LLViewerImage(); | 217 | /*virtual*/ ~LLViewerImage(); |
214 | 218 | ||
@@ -311,8 +315,17 @@ public: | |||
311 | 315 | ||
312 | BOOL isSameTexture(const LLViewerImage* tex) const ; | 316 | BOOL isSameTexture(const LLViewerImage* tex) const ; |
313 | 317 | ||
314 | void addFace(LLFace* facep) ; | 318 | virtual void addFace(LLFace* facep) ; |
315 | void removeFace(LLFace* facep) ; | 319 | virtual void removeFace(LLFace* facep) ; |
320 | S32 getNumFaces() const; | ||
321 | const ll_face_list_t* getFaceList() const {return &mFaceList;} | ||
322 | void reorganizeFaceList() ; | ||
323 | |||
324 | virtual void addVolume(LLVOVolume* volumep); | ||
325 | virtual void removeVolume(LLVOVolume* volumep); | ||
326 | S32 getNumVolumes() const; | ||
327 | const ll_volume_list_t* getVolumeList() const { return &mVolumeList; } | ||
328 | void reorganizeVolumeList() ; | ||
316 | 329 | ||
317 | void setCanUseHTTP(bool can_use_http) {mCanUseHTTP = can_use_http;}; | 330 | void setCanUseHTTP(bool can_use_http) {mCanUseHTTP = can_use_http;}; |
318 | 331 | ||
@@ -417,8 +430,13 @@ private: | |||
417 | BOOL mForSculpt ; //a flag if the texture is used for a sculpt data. | 430 | BOOL mForSculpt ; //a flag if the texture is used for a sculpt data. |
418 | mutable BOOL mNeedsResetMaxVirtualSize ; | 431 | mutable BOOL mNeedsResetMaxVirtualSize ; |
419 | 432 | ||
420 | typedef std::list<LLFace*> ll_face_list_t ; | 433 | ll_face_list_t mFaceList ; //reverse pointer pointing to the faces using this image as texture |
421 | ll_face_list_t mFaceList ; //reverse pointer pointing to the faces using this image as texture | 434 | U32 mNumFaces ; |
435 | LLFrameTimer mLastFaceListUpdateTimer ; | ||
436 | |||
437 | ll_volume_list_t mVolumeList; | ||
438 | U32 mNumVolumes; | ||
439 | LLFrameTimer mLastVolumeListUpdateTimer; | ||
422 | 440 | ||
423 | bool mCanUseHTTP; // can this image be fetched by http | 441 | bool mCanUseHTTP; // can this image be fetched by http |
424 | 442 | ||