diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/pipeline.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/linden/indra/newview/pipeline.h b/linden/indra/newview/pipeline.h index a687e12..218f920 100644 --- a/linden/indra/newview/pipeline.h +++ b/linden/indra/newview/pipeline.h | |||
@@ -154,7 +154,6 @@ public: | |||
154 | void postSort(LLCamera& camera); | 154 | void postSort(LLCamera& camera); |
155 | void forAllDrawables(LLSpatialGroup::sg_vector_t& groups, void (*func)(LLDrawable*)); | 155 | void forAllDrawables(LLSpatialGroup::sg_vector_t& groups, void (*func)(LLDrawable*)); |
156 | void forAllVisibleDrawables(void (*func)(LLDrawable*)); | 156 | void forAllVisibleDrawables(void (*func)(LLDrawable*)); |
157 | static void highlightPhysical(LLDrawable* drawablep); | ||
158 | 157 | ||
159 | void renderObjects(U32 type, U32 mask, BOOL texture = TRUE); | 158 | void renderObjects(U32 type, U32 mask, BOOL texture = TRUE); |
160 | 159 | ||
@@ -207,18 +206,36 @@ public: | |||
207 | static BOOL toggleRenderDebugControl(void* data); | 206 | static BOOL toggleRenderDebugControl(void* data); |
208 | static BOOL toggleRenderDebugFeatureControl(void* data); | 207 | static BOOL toggleRenderDebugFeatureControl(void* data); |
209 | 208 | ||
209 | static void setRenderParticleBeacons(BOOL val); | ||
210 | static void toggleRenderParticleBeacons(void* data); | 210 | static void toggleRenderParticleBeacons(void* data); |
211 | static BOOL getRenderParticleBeacons(void* data); | 211 | static BOOL getRenderParticleBeacons(void* data); |
212 | 212 | ||
213 | static void setRenderSoundBeacons(BOOL val); | ||
213 | static void toggleRenderSoundBeacons(void* data); | 214 | static void toggleRenderSoundBeacons(void* data); |
214 | static BOOL getRenderSoundBeacons(void* data); | 215 | static BOOL getRenderSoundBeacons(void* data); |
215 | 216 | ||
217 | static void setRenderPhysicalBeacons(BOOL val); | ||
216 | static void toggleRenderPhysicalBeacons(void* data); | 218 | static void toggleRenderPhysicalBeacons(void* data); |
217 | static BOOL getRenderPhysicalBeacons(void* data); | 219 | static BOOL getRenderPhysicalBeacons(void* data); |
218 | 220 | ||
221 | static void setRenderScriptedBeacons(BOOL val); | ||
219 | static void toggleRenderScriptedBeacons(void* data); | 222 | static void toggleRenderScriptedBeacons(void* data); |
220 | static BOOL getRenderScriptedBeacons(void* data); | 223 | static BOOL getRenderScriptedBeacons(void* data); |
221 | 224 | ||
225 | static void setRenderScriptedTouchBeacons(BOOL val); | ||
226 | static void toggleRenderScriptedTouchBeacons(void* data); | ||
227 | static BOOL getRenderScriptedTouchBeacons(void* data); | ||
228 | |||
229 | static void setRenderBeacons(BOOL val); | ||
230 | static void toggleRenderBeacons(void* data); | ||
231 | static BOOL getRenderBeacons(void* data); | ||
232 | |||
233 | static void setRenderHighlights(BOOL val); | ||
234 | static void toggleRenderHighlights(void* data); | ||
235 | static BOOL getRenderHighlights(void* data); | ||
236 | |||
237 | static BOOL getProcessBeacons(void* data); | ||
238 | |||
222 | private: | 239 | private: |
223 | void initShaders(BOOL force); | 240 | void initShaders(BOOL force); |
224 | void unloadShaders(); | 241 | void unloadShaders(); |
@@ -494,8 +511,9 @@ protected: | |||
494 | LLDrawPool* mBumpPool; | 511 | LLDrawPool* mBumpPool; |
495 | // Note: no need to keep an quick-lookup to avatar pools, since there's only one per avatar | 512 | // Note: no need to keep an quick-lookup to avatar pools, since there's only one per avatar |
496 | 513 | ||
497 | 514 | public: | |
498 | std::vector<LLFace*> mHighlightFaces; // highlight faces on physical objects | 515 | std::vector<LLFace*> mHighlightFaces; // highlight faces on physical objects |
516 | protected: | ||
499 | std::vector<LLFace*> mSelectedFaces; | 517 | std::vector<LLFace*> mSelectedFaces; |
500 | 518 | ||
501 | LLPointer<LLViewerImage> mFaceSelectImagep; | 519 | LLPointer<LLViewerImage> mFaceSelectImagep; |
@@ -508,9 +526,14 @@ protected: | |||
508 | F32 mSunShadowFactor; | 526 | F32 mSunShadowFactor; |
509 | 527 | ||
510 | static BOOL sRenderPhysicalBeacons; | 528 | static BOOL sRenderPhysicalBeacons; |
529 | static BOOL sRenderScriptedTouchBeacons; | ||
511 | static BOOL sRenderScriptedBeacons; | 530 | static BOOL sRenderScriptedBeacons; |
512 | static BOOL sRenderParticleBeacons; | 531 | static BOOL sRenderParticleBeacons; |
513 | static BOOL sRenderSoundBeacons; | 532 | static BOOL sRenderSoundBeacons; |
533 | public: | ||
534 | static BOOL sRenderBeacons; | ||
535 | static BOOL sRenderHighlight; | ||
536 | static BOOL sRenderProcessBeacons; | ||
514 | }; | 537 | }; |
515 | 538 | ||
516 | void render_bbox(const LLVector3 &min, const LLVector3 &max); | 539 | void render_bbox(const LLVector3 &min, const LLVector3 &max); |