diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-16 04:02:52 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-16 04:02:52 -0500 |
commit | 028bb02a6b325f8a1079030414872ab20db944ca (patch) | |
tree | 0886d724386cdc3c8b24259dd816c5f9c0ae565a /indra/newview/pipeline.h | |
parent | 22edf673cf99b6bfe77808fb262f73202c1007ff (diff) |
Better physics shape display.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index 0831a6c456..1c2ffd664c 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -114,8 +114,10 @@ public: void resizeScreenTexture(); void releaseGLBuffers(); void createGLBuffers(); - void allocateScreenBuffer(U32 resX, U32 resY); + void allocateScreenBuffer(U32 resX, U32 resY); + void allocatePhysicsBuffer(); + void resetVertexBuffers(LLDrawable* drawable); void setUseVBO(BOOL use_vbo); void generateImpostor(LLVOAvatar* avatar); @@ -259,6 +261,7 @@ public: void generateGI(LLCamera& camera, LLVector3& lightDir, std::vector<LLVector3>& vpc); void renderHighlights(); void renderDebug(); + void renderPhysicsDisplay(); void renderForSelect(std::set<LLViewerObject*>& objects, BOOL render_transparent, const LLRect& screen_rect); void rebuildPools(); // Rebuild pools @@ -519,6 +522,7 @@ public: LLRenderTarget mGIMapPost[2]; LLRenderTarget mLuminanceMap; LLRenderTarget mHighlight; + LLRenderTarget mPhysicsDisplay; //sun shadow map LLRenderTarget mShadow[6]; |