summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.h
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2007-07-20 20:38:05 +0000
committerDon Kjer <don@lindenlab.com>2007-07-20 20:38:05 +0000
commitd373dcc7cbed5fdea72c6b71a5594e4e85549b43 (patch)
tree140e20f48db5dc4d7842f05ef2c24ef9e6fc3238 /indra/newview/pipeline.h
parentc78f99b0b3b4b9ac99a69b63315e821d89a89a3b (diff)
svn merge -r 64548:64837 svn+ssh://svn/svn/linden/branches/maintenance into release
* WARNING *: maintenance r64837 is not the last rev to use in the next merge. use r65269
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r--indra/newview/pipeline.h27
1 files changed, 25 insertions, 2 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h
index 390e139503..9a7336186c 100644
--- a/indra/newview/pipeline.h
+++ b/indra/newview/pipeline.h
@@ -134,7 +134,6 @@ public:
void postSort(LLCamera& camera);
void forAllDrawables(LLSpatialGroup::sg_vector_t& groups, void (*func)(LLDrawable*));
void forAllVisibleDrawables(void (*func)(LLDrawable*));
- static void highlightPhysical(LLDrawable* drawablep);
void renderObjects(U32 type, U32 mask, BOOL texture = TRUE);
@@ -187,18 +186,36 @@ public:
static BOOL toggleRenderDebugControl(void* data);
static BOOL toggleRenderDebugFeatureControl(void* data);
+ static void setRenderParticleBeacons(BOOL val);
static void toggleRenderParticleBeacons(void* data);
static BOOL getRenderParticleBeacons(void* data);
+ static void setRenderSoundBeacons(BOOL val);
static void toggleRenderSoundBeacons(void* data);
static BOOL getRenderSoundBeacons(void* data);
+ static void setRenderPhysicalBeacons(BOOL val);
static void toggleRenderPhysicalBeacons(void* data);
static BOOL getRenderPhysicalBeacons(void* data);
+ static void setRenderScriptedBeacons(BOOL val);
static void toggleRenderScriptedBeacons(void* data);
static BOOL getRenderScriptedBeacons(void* data);
+ static void setRenderScriptedTouchBeacons(BOOL val);
+ static void toggleRenderScriptedTouchBeacons(void* data);
+ static BOOL getRenderScriptedTouchBeacons(void* data);
+
+ static void setRenderBeacons(BOOL val);
+ static void toggleRenderBeacons(void* data);
+ static BOOL getRenderBeacons(void* data);
+
+ static void setRenderHighlights(BOOL val);
+ static void toggleRenderHighlights(void* data);
+ static BOOL getRenderHighlights(void* data);
+
+ static BOOL getProcessBeacons(void* data);
+
private:
void initShaders(BOOL force);
void unloadShaders();
@@ -474,8 +491,9 @@ protected:
LLDrawPool* mBumpPool;
// Note: no need to keep an quick-lookup to avatar pools, since there's only one per avatar
-
+public:
std::vector<LLFace*> mHighlightFaces; // highlight faces on physical objects
+protected:
std::vector<LLFace*> mSelectedFaces;
LLPointer<LLViewerImage> mFaceSelectImagep;
@@ -488,9 +506,14 @@ protected:
F32 mSunShadowFactor;
static BOOL sRenderPhysicalBeacons;
+ static BOOL sRenderScriptedTouchBeacons;
static BOOL sRenderScriptedBeacons;
static BOOL sRenderParticleBeacons;
static BOOL sRenderSoundBeacons;
+public:
+ static BOOL sRenderBeacons;
+ static BOOL sRenderHighlight;
+ static BOOL sRenderProcessBeacons;
};
void render_bbox(const LLVector3 &min, const LLVector3 &max);