diff options
| author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-09 17:53:43 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 16:53:43 -0500 | 
| commit | 2a7030992faa12c362d3eb9365080efd8265e15f (patch) | |
| tree | 4e42fcc27f309413d36b843376ded58af0662f2d /indra/newview | |
| parent | e1b7ac6065512a8973f1a61ae5a657796fed94c0 (diff) | |
Update tracy profiler to 0.10 (#1946)
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 26 | ||||
| -rw-r--r-- | indra/newview/llcallingcard.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/lldrawable.cpp | 40 | ||||
| -rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 42 | ||||
| -rw-r--r-- | indra/newview/llface.cpp | 10 | ||||
| -rw-r--r-- | indra/newview/llnotificationscripthandler.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llscreenchannel.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llspatialpartition.cpp | 8 | ||||
| -rw-r--r-- | indra/newview/llsurfacepatch.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltoastpanel.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewerdisplay.cpp | 2 | ||||
| -rwxr-xr-x | indra/newview/llviewerparceloverlay.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewertexturelist.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewerwindow.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llvoavatar.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 50 | ||||
| -rw-r--r-- | indra/newview/llvosurfacepatch.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llworld.cpp | 2 | 
18 files changed, 103 insertions, 103 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index aec721e6c3..a10ef451e1 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1428,13 +1428,13 @@ bool LLAppViewer::doFrame()              }              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df mainloop") +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df mainloop");                  // canonical per-frame event                  mainloop.post(newFrame);              }              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df suspend") +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df suspend");                  // give listeners a chance to run                  llcoro::suspend();                  // if one of our coroutines threw an uncaught exception, rethrow it now @@ -1444,7 +1444,7 @@ bool LLAppViewer::doFrame()          if (!LLApp::isExiting())          { -            LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df JoystickKeyboard" ) +            LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df JoystickKeyboard");              pingMainloopTimeout("Main:JoystickKeyboard");              // Scan keyboard for movement keys.  Command keys and typing @@ -1467,7 +1467,7 @@ bool LLAppViewer::doFrame()              // Update state based on messages, user input, object idle.              {                  { -                    LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df pauseMainloopTimeout" ) +                    LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df pauseMainloopTimeout");                      pauseMainloopTimeout(); // *TODO: Remove. Messages shouldn't be stalling for 20+ seconds!                  } @@ -1478,7 +1478,7 @@ bool LLAppViewer::doFrame()                  }                  { -                    LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df resumeMainloopTimeout" ) +                    LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df resumeMainloopTimeout");                      resumeMainloopTimeout();                  }              } @@ -1525,7 +1525,7 @@ bool LLAppViewer::doFrame()          }          { -            LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df pauseMainloopTimeout" ) +            LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df pauseMainloopTimeout");          pingMainloopTimeout("Main:Sleep");          pauseMainloopTimeout(); @@ -1534,14 +1534,14 @@ bool LLAppViewer::doFrame()          // Sleep and run background threads          {              //LL_RECORD_BLOCK_TIME(SLEEP2); -            LL_PROFILE_ZONE_WARN( "Sleep2" ) +            LL_PROFILE_ZONE_WARN("Sleep2");              // yield some time to the os based on command line option              static LLCachedControl<S32> yield_time(gSavedSettings, "YieldTime", -1);              if(yield_time >= 0)              {                  LL_PROFILE_ZONE_NAMED_CATEGORY_APP("Yield"); -                LL_PROFILE_ZONE_NUM( yield_time ) +                LL_PROFILE_ZONE_NUM(yield_time);                  ms_sleep(yield_time);              } @@ -1609,24 +1609,24 @@ bool LLAppViewer::doFrame()              }              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df gMeshRepo" ) +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df gMeshRepo");              gMeshRepo.update() ;              }              if(!total_work_pending) //pause texture fetching threads if nothing to process.              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df getTextureCache" ) +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df getTextureCache");                  LLAppViewer::getTextureCache()->pause();                  LLAppViewer::getTextureFetch()->pause();              }              if(!total_io_pending) //pause file threads if nothing to process.              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df LLVFSThread" ) +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df LLVFSThread");                  LLLFSThread::sLocal->pause();              }              { -                LL_PROFILE_ZONE_NAMED_CATEGORY_APP( "df resumeMainloopTimeout" ) +                LL_PROFILE_ZONE_NAMED_CATEGORY_APP("df resumeMainloopTimeout");                  resumeMainloopTimeout();              }              pingMainloopTimeout("Main:End"); @@ -1654,7 +1654,7 @@ bool LLAppViewer::doFrame()          LL_INFOS() << "Exiting main_loop" << LL_ENDL;      }      }LLPerfStats::StatsRecorder::endFrame(); -    LL_PROFILER_FRAME_END +    LL_PROFILER_FRAME_END;      return ! LLApp::isRunning();  } diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp index 039164cd6e..214b5f5cde 100644 --- a/indra/newview/llcallingcard.cpp +++ b/indra/newview/llcallingcard.cpp @@ -491,7 +491,7 @@ void LLAvatarTracker::notifyObservers()          // new masks and ids will be processed later from idle.          return;      } -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      mIsNotifyObservers = true;      observer_list_t observers(mObservers); @@ -678,7 +678,7 @@ void LLAvatarTracker::processChangeUserRights(LLMessageSystem* msg, void**)  void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online)  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      S32 count = msg->getNumberOfBlocksFast(_PREHASH_AgentBlock);      bool chat_notify = gSavedSettings.getBOOL("ChatOnlineNotification"); diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index 26fdf51485..d6ecd124c8 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -98,7 +98,7 @@ LLDrawable::LLDrawable(LLViewerObject *vobj, bool new_entry)  void LLDrawable::init(bool new_entry)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      // mXform      mParent = NULL; @@ -305,7 +305,7 @@ S32 LLDrawable::findReferences(LLDrawable *drawablep)  LLFace* LLDrawable::addFace(LLFacePool *poolp, LLViewerTexture *texturep)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLFace *face;      { @@ -333,7 +333,7 @@ LLFace* LLDrawable::addFace(LLFacePool *poolp, LLViewerTexture *texturep)  LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLFace *face; @@ -356,7 +356,7 @@ LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep)  LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep, LLViewerTexture *normalp)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLFace *face;      face = new LLFace(this, mVObjp); @@ -379,7 +379,7 @@ LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep,  LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep, LLViewerTexture *normalp, LLViewerTexture *specularp)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLFace *face;      face = new LLFace(this, mVObjp); @@ -403,7 +403,7 @@ LLFace* LLDrawable::addFace(const LLTextureEntry *te, LLViewerTexture *texturep,  void LLDrawable::setNumFaces(const S32 newFaces, LLFacePool *poolp, LLViewerTexture *texturep)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (newFaces == (S32)mFaces.size())      { @@ -428,7 +428,7 @@ void LLDrawable::setNumFaces(const S32 newFaces, LLFacePool *poolp, LLViewerText  void LLDrawable::setNumFacesFast(const S32 newFaces, LLFacePool *poolp, LLViewerTexture *texturep)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (newFaces <= (S32)mFaces.size() && newFaces >= (S32)mFaces.size()/2)      { @@ -453,7 +453,7 @@ void LLDrawable::setNumFacesFast(const S32 newFaces, LLFacePool *poolp, LLViewer  void LLDrawable::mergeFaces(LLDrawable* src)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      auto face_count = mFaces.size() + src->mFaces.size(); @@ -488,7 +488,7 @@ void LLDrawable::updateMaterial()  void LLDrawable::makeActive()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;  #if !LL_RELEASE_FOR_DOWNLOAD      if (mVObjp.notNull()) @@ -552,7 +552,7 @@ void LLDrawable::makeActive()  void LLDrawable::makeStatic(bool warning_enabled)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (isState(ACTIVE) &&          !isState(ACTIVE_CHILD) && @@ -600,7 +600,7 @@ void LLDrawable::makeStatic(bool warning_enabled)  // Returns "distance" between target destination and resulting xfrom  F32 LLDrawable::updateXform(bool undamped)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      bool damped = !undamped; @@ -754,7 +754,7 @@ void LLDrawable::moveUpdatePipeline(bool moved)  void LLDrawable::movePartition()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLSpatialPartition* part = getSpatialPartition();      if (part) @@ -800,7 +800,7 @@ bool LLDrawable::updateMoveUndamped()  void LLDrawable::updatePartition()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (!getVOVolume())      { @@ -819,7 +819,7 @@ void LLDrawable::updatePartition()  bool LLDrawable::updateMoveDamped()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      F32 dist_squared = updateXform(false); @@ -844,7 +844,7 @@ bool LLDrawable::updateMoveDamped()  void LLDrawable::updateDistance(LLCamera& camera, bool force_update)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (LLViewerCamera::sCurCameraID != LLViewerCamera::CAMERA_WORLD)      { @@ -1022,7 +1022,7 @@ const LLVector3& LLDrawable::getBounds(LLVector3& min, LLVector3& max) const  void LLDrawable::updateSpatialExtents()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (mVObjp)      { @@ -1158,7 +1158,7 @@ void LLDrawable::setGroup(LLViewerOctreeGroup *groupp)  */  LLSpatialPartition* LLDrawable::getSpatialPartition()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLSpatialPartition* retval = NULL; @@ -1295,7 +1295,7 @@ void LLSpatialBridge::destroyTree()  void LLSpatialBridge::updateSpatialExtents()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      LLSpatialGroup* root = (LLSpatialGroup*) mOctree->getListener(0); @@ -1468,7 +1468,7 @@ public:  void LLSpatialBridge::setVisible(LLCamera& camera_in, std::vector<LLDrawable*>* results, bool for_select)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (!gPipeline.hasRenderType(mDrawableType))      { @@ -1567,7 +1567,7 @@ void LLSpatialBridge::setVisible(LLCamera& camera_in, std::vector<LLDrawable*>*  void LLSpatialBridge::updateDistance(LLCamera& camera_in, bool force_update)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWABLE;      if (mDrawable == NULL)      { diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 9afc705d3e..ec70c7ebc0 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -117,7 +117,7 @@ LLDrawPoolAvatar::~LLDrawPoolAvatar()  // virtual  bool LLDrawPoolAvatar::isDead()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      if (!LLFacePool::isDead())      { @@ -129,14 +129,14 @@ bool LLDrawPoolAvatar::isDead()  S32 LLDrawPoolAvatar::getShaderLevel() const  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      return (S32) LLViewerShaderMgr::instance()->getShaderLevel(LLViewerShaderMgr::SHADER_AVATAR);  }  void LLDrawPoolAvatar::prerender()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      mShaderLevel = LLViewerShaderMgr::instance()->getShaderLevel(LLViewerShaderMgr::SHADER_AVATAR); @@ -145,7 +145,7 @@ void LLDrawPoolAvatar::prerender()  LLMatrix4& LLDrawPoolAvatar::getModelView()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      static LLMatrix4 ret; @@ -217,7 +217,7 @@ void LLDrawPoolAvatar::endDeferredPass(S32 pass)  void LLDrawPoolAvatar::renderDeferred(S32 pass)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      render(pass);  } @@ -229,7 +229,7 @@ S32 LLDrawPoolAvatar::getNumPostDeferredPasses()  void LLDrawPoolAvatar::beginPostDeferredPass(S32 pass)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sSkipOpaque = true;      sShaderLevel = mShaderLevel; @@ -245,7 +245,7 @@ void LLDrawPoolAvatar::beginPostDeferredPass(S32 pass)  void LLDrawPoolAvatar::endPostDeferredPass(S32 pass)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      // if we're in software-blending, remember to set the fence _after_ we draw so we wait till this rendering is done      sRenderingSkinned = false;      sSkipOpaque = false; @@ -257,7 +257,7 @@ void LLDrawPoolAvatar::endPostDeferredPass(S32 pass)  void LLDrawPoolAvatar::renderPostDeferred(S32 pass)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      is_post_deferred_render = true;      if (LLPipeline::sImpostorRender) @@ -489,7 +489,7 @@ void LLDrawPoolAvatar::endRenderPass(S32 pass)  void LLDrawPoolAvatar::beginImpostor()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      if (!LLPipeline::sReflectionRender)      { @@ -506,7 +506,7 @@ void LLDrawPoolAvatar::beginImpostor()  void LLDrawPoolAvatar::endImpostor()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;          gImpostorProgram.unbind();      gPipeline.enableLightsDynamic(); @@ -514,7 +514,7 @@ void LLDrawPoolAvatar::endImpostor()  void LLDrawPoolAvatar::beginRigid()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      if (gPipeline.shadersLoaded())      { @@ -534,7 +534,7 @@ void LLDrawPoolAvatar::beginRigid()  void LLDrawPoolAvatar::endRigid()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sShaderLevel = mShaderLevel;      if (sVertexProgram != NULL) @@ -545,7 +545,7 @@ void LLDrawPoolAvatar::endRigid()  void LLDrawPoolAvatar::beginDeferredImpostor()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      if (!LLPipeline::sReflectionRender)      { @@ -563,7 +563,7 @@ void LLDrawPoolAvatar::beginDeferredImpostor()  void LLDrawPoolAvatar::endDeferredImpostor()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sShaderLevel = mShaderLevel;      sVertexProgram->disableTexture(LLViewerShaderMgr::NORMAL_MAP); @@ -576,7 +576,7 @@ void LLDrawPoolAvatar::endDeferredImpostor()  void LLDrawPoolAvatar::beginDeferredRigid()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sVertexProgram = &gDeferredNonIndexedDiffuseAlphaMaskNoColorProgram;      sDiffuseChannel = sVertexProgram->enableTexture(LLViewerShaderMgr::DIFFUSE_MAP); @@ -586,7 +586,7 @@ void LLDrawPoolAvatar::beginDeferredRigid()  void LLDrawPoolAvatar::endDeferredRigid()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sShaderLevel = mShaderLevel;      sVertexProgram->disableTexture(LLViewerShaderMgr::DIFFUSE_MAP); @@ -597,7 +597,7 @@ void LLDrawPoolAvatar::endDeferredRigid()  void LLDrawPoolAvatar::beginSkinned()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      // used for preview only @@ -611,7 +611,7 @@ void LLDrawPoolAvatar::beginSkinned()  void LLDrawPoolAvatar::endSkinned()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      // if we're in software-blending, remember to set the fence _after_ we draw so we wait till this rendering is done      if (sShaderLevel > 0) @@ -637,7 +637,7 @@ void LLDrawPoolAvatar::endSkinned()  void LLDrawPoolAvatar::beginDeferredSkinned()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      sShaderLevel = mShaderLevel;      sVertexProgram = &gDeferredAvatarProgram; @@ -651,7 +651,7 @@ void LLDrawPoolAvatar::beginDeferredSkinned()  void LLDrawPoolAvatar::endDeferredSkinned()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      // if we're in software-blending, remember to set the fence _after_ we draw so we wait till this rendering is done      sRenderingSkinned = false; @@ -836,7 +836,7 @@ static LLTrace::BlockTimerStatHandle FTM_RIGGED_VBO("Rigged VBO");  //-----------------------------------------------------------------------------  LLViewerTexture *LLDrawPoolAvatar::getDebugTexture()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      if (mReferences.empty())      { diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 4bf9412dcb..f73c530ff9 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -236,7 +236,7 @@ void LLFace::setPool(LLFacePool* pool)  void LLFace::setPool(LLFacePool* new_pool, LLViewerTexture *texturep)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE;      if (!new_pool)      { @@ -317,7 +317,7 @@ void LLFace::setSpecularMap(LLViewerTexture* tex)  void LLFace::dirtyTexture()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE;      LLDrawable* drawablep = getDrawable(); @@ -504,7 +504,7 @@ void LLFace::updateCenterAgent()  void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE;      if (mDrawablep == NULL || mDrawablep->getSpatialGroup() == NULL)      { @@ -578,7 +578,7 @@ void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color)  void renderFace(LLDrawable* drawable, LLFace *face)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE;      LLVOVolume* vobj = drawable->getVOVolume();      if (vobj) @@ -805,7 +805,7 @@ bool less_than_max_mag(const LLVector4a& vec)  bool LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f,                               const LLMatrix4& mat_vert_in, bool global_volume)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_FACE;      //get bounding box      if (mDrawablep->isState(LLDrawable::REBUILD_VOLUME | LLDrawable::REBUILD_POSITION | LLDrawable::REBUILD_RIGGED)) diff --git a/indra/newview/llnotificationscripthandler.cpp b/indra/newview/llnotificationscripthandler.cpp index 842c24db8a..f0bbaddfb2 100644 --- a/indra/newview/llnotificationscripthandler.cpp +++ b/indra/newview/llnotificationscripthandler.cpp @@ -68,7 +68,7 @@ void LLScriptHandler::initChannel()  //--------------------------------------------------------------------------  void LLScriptHandler::addToastWithNotification(const LLNotificationPtr& notification)  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      LLToastPanel* notify_box = LLToastPanel::buidPanelFromNotification(notification);      LLToast::Params p; diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index 89ec2bf72e..f75e48c728 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -259,7 +259,7 @@ void LLScreenChannel::updatePositionAndSize(LLRect new_world_rect)  //--------------------------------------------------------------------------  void LLScreenChannel::addToast(const LLToast::Params& p)  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      bool store_toast = false, show_toast = false;      if (mDisplayToastsAlways) diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index dd5916818c..05c5bb14c6 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -409,7 +409,7 @@ LLSpatialGroup* LLSpatialGroup::getParent()  bool LLSpatialGroup::removeObject(LLDrawable *drawablep, bool from_octree)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL +    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL;      if(!drawablep)      { @@ -634,7 +634,7 @@ void LLSpatialGroup::updateDistance(LLCamera &camera)  F32 LLSpatialPartition::calcDistance(LLSpatialGroup* group, LLCamera& camera)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL +    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL;      LLVector4a eye;      LLVector4a origin; @@ -729,7 +729,7 @@ F32 LLSpatialGroup::getUpdateUrgency() const  bool LLSpatialGroup::changeLOD()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL +    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL;      if (hasState(ALPHA_DIRTY | OBJECT_DIRTY))      { @@ -818,7 +818,7 @@ void LLSpatialGroup::handleDestruction(const TreeNode* node)  void LLSpatialGroup::handleChildAddition(const OctreeNode* parent, OctreeNode* child)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL +    LL_PROFILE_ZONE_SCOPED_CATEGORY_SPATIAL;      if (child->getListenerCount() == 0)      { diff --git a/indra/newview/llsurfacepatch.cpp b/indra/newview/llsurfacepatch.cpp index 2a21170b07..0550889a9b 100644 --- a/indra/newview/llsurfacepatch.cpp +++ b/indra/newview/llsurfacepatch.cpp @@ -895,7 +895,7 @@ bool LLSurfacePatch::updateTexture()  void LLSurfacePatch::updateGL()  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      F32 meters_per_grid = getSurface()->getMetersPerGrid();      F32 grids_per_patch_edge = (F32)getSurface()->getGridsPerPatchEdge(); diff --git a/indra/newview/lltoastpanel.cpp b/indra/newview/lltoastpanel.cpp index 0ac2653021..6f8691bb26 100644 --- a/indra/newview/lltoastpanel.cpp +++ b/indra/newview/lltoastpanel.cpp @@ -114,7 +114,7 @@ void LLToastPanel::snapToMessageHeight(LLTextBase* message, S32 maxLineCount)  LLToastPanel* LLToastPanel::buidPanelFromNotification(          const LLNotificationPtr& notification)  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      LLToastPanel* res = NULL;      //process tip toast panels diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index e2389c9ba0..c774e17e0c 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -213,7 +213,7 @@ void display_update_camera()  // Write some stats to LL_INFOS()  void display_stats()  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      const F32 FPS_LOG_FREQUENCY = 10.f;      if (gRecentFPSTime.getElapsedTimeF32() >= FPS_LOG_FREQUENCY)      { diff --git a/indra/newview/llviewerparceloverlay.cpp b/indra/newview/llviewerparceloverlay.cpp index 1f14aa4afc..58b8a5b677 100755 --- a/indra/newview/llviewerparceloverlay.cpp +++ b/indra/newview/llviewerparceloverlay.cpp @@ -611,7 +611,7 @@ void LLViewerParcelOverlay::setDirty()  void LLViewerParcelOverlay::updateGL()  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      updateOverlayTexture();  } diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index b03a9a8f15..e486449b4d 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -925,7 +925,7 @@ void LLViewerTextureList::updateImageDecodePriority(LLViewerFetchedTexture* imag          imagep->mMaxVirtualSize = 0.f;      } -    LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;      for (U32 i = 0; i < LLRender::NUM_TEXTURE_CHANNELS; ++i)      {          for (S32 fi = 0; fi < imagep->getNumFaces(i); ++fi) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 4028de0a66..957048566e 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -5623,7 +5623,7 @@ void LLViewerWindow::setup3DRender()  void LLViewerWindow::setup3DViewport(S32 x_offset, S32 y_offset)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_UI +    LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;      gGLViewport[0] = mWorldViewRectRaw.mLeft + x_offset;      gGLViewport[1] = mWorldViewRectRaw.mBottom + y_offset;      gGLViewport[2] = mWorldViewRectRaw.getWidth(); diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index d4559e5491..ac95a2f8f7 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -7239,7 +7239,7 @@ void LLVOAvatar::updateGL()  {      if (mMeshTexturesDirty)      { -        LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +        LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;          updateMeshTextures();          mMeshTexturesDirty = false;      } @@ -8723,7 +8723,7 @@ void LLVOAvatar::updateMeshVisibility()  // virtual  void LLVOAvatar::updateMeshTextures()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR +    LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;      static S32 update_counter = 0;      mBakedTextureDebugText.clear(); diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 9b553928cf..d18a32cb05 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -290,7 +290,7 @@ const LLVoiceVersionInfo& LLWebRTCVoiceClient::getVersion()  void LLWebRTCVoiceClient::updateSettings()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      setVoiceEnabled(LLVoiceClient::getInstance()->voiceEnabled());      static LLCachedControl<S32> sVoiceEarLocation(gSavedSettings, "VoiceEarLocation"); @@ -335,7 +335,7 @@ void LLWebRTCVoiceClient::removeObserver(LLVoiceClientParticipantObserver *obser  void LLWebRTCVoiceClient::notifyParticipantObservers()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      for (observer_set_t::iterator it = mParticipantObservers.begin(); it != mParticipantObservers.end();)      {          LLVoiceClientParticipantObserver *observer = *it; @@ -357,7 +357,7 @@ void LLWebRTCVoiceClient::removeObserver(LLVoiceClientStatusObserver *observer)  void LLWebRTCVoiceClient::notifyStatusObservers(LLVoiceClientStatusObserver::EStatusType status)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LL_DEBUGS("Voice") << "( " << LLVoiceClientStatusObserver::status2string(status) << " )"                         << " mSession=" << mSession << LL_ENDL; @@ -541,7 +541,7 @@ void LLWebRTCVoiceClient::voiceConnectionCoro()  // for cross-region voice.  void LLWebRTCVoiceClient::updateNeighboringRegions()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      static const std::vector<LLVector3d> neighbors {LLVector3d(0.0f, 1.0f, 0.0f),  LLVector3d(0.707f, 0.707f, 0.0f),                                                      LLVector3d(1.0f, 0.0f, 0.0f),  LLVector3d(0.707f, -0.707f, 0.0f), @@ -574,7 +574,7 @@ void LLWebRTCVoiceClient::updateNeighboringRegions()  // shut down the current audio session to make room for the next one.  void LLWebRTCVoiceClient::leaveAudioSession()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if(mSession)      { @@ -630,7 +630,7 @@ void LLWebRTCVoiceClient::OnDevicesChanged(const llwebrtc::LLWebRTCVoiceDeviceLi  void LLWebRTCVoiceClient::OnDevicesChangedImpl(const llwebrtc::LLWebRTCVoiceDeviceList &render_devices,                                                 const llwebrtc::LLWebRTCVoiceDeviceList &capture_devices)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      std::string inputDevice = gSavedSettings.getString("VoiceInputAudioDevice");      std::string outputDevice = gSavedSettings.getString("VoiceOutputAudioDevice"); @@ -797,7 +797,7 @@ void LLWebRTCVoiceClient::setHidden(bool hidden)  // notify the observers.  void LLWebRTCVoiceClient::OnConnectionEstablished(const std::string &channelID, const LLUUID ®ionID)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (gAgent.getRegion()->getRegionID() == regionID)      { @@ -881,7 +881,7 @@ void LLWebRTCVoiceClient::setEarLocation(S32 loc)  void LLWebRTCVoiceClient::updatePosition(void)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LLViewerRegion *region = gAgent.getRegion();      if (region && isAgentAvatarValid()) @@ -1010,7 +1010,7 @@ void LLWebRTCVoiceClient::enforceTether()  // standard 50m  void LLWebRTCVoiceClient::sendPositionUpdate(bool force)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      std::string      spatial_data; @@ -1126,7 +1126,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::addParticipantBy  void LLWebRTCVoiceClient::removeParticipantByID(const std::string &channelID, const LLUUID &id, const LLUUID& region)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      participantStatePtr_t result;      LLWebRTCVoiceClient::sessionState::ptr_t session = sessionState::matchSessionByChannelID(channelID); @@ -1156,7 +1156,7 @@ LLWebRTCVoiceClient::participantState::participantState(const LLUUID& agent_id,  LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::sessionState::addParticipant(const LLUUID& agent_id, const LLUUID& region)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      participantStatePtr_t result; @@ -1194,7 +1194,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::sessionState::ad  LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::sessionState::findParticipantByID(const LLUUID& id)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      participantStatePtr_t result;      participantUUIDMap::iterator iter = mParticipantsByUUID.find(id); @@ -1209,7 +1209,7 @@ LLWebRTCVoiceClient::participantStatePtr_t LLWebRTCVoiceClient::sessionState::fi  void LLWebRTCVoiceClient::sessionState::removeParticipant(const LLWebRTCVoiceClient::participantStatePtr_t &participant)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (participant)      { @@ -1492,7 +1492,7 @@ void LLWebRTCVoiceClient::setMicGain(F32 gain)  void LLWebRTCVoiceClient::setVoiceEnabled(bool enabled)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LL_DEBUGS("Voice")          << "( " << (enabled ? "enabled" : "disabled") << " )" @@ -1887,7 +1887,7 @@ void LLWebRTCVoiceClient::sessionState::revive()  void LLWebRTCVoiceClient::sessionState::processSessionStates()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      auto iter = mSessions.begin();      while (iter != mSessions.end()) @@ -1908,7 +1908,7 @@ void LLWebRTCVoiceClient::sessionState::processSessionStates()  // process the states on each connection associated with a session.  bool LLWebRTCVoiceClient::sessionState::processConnectionStates()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      std::list<connectionPtr_t>::iterator iter = mWebRTCConnections.begin();      while (iter != mWebRTCConnections.end()) @@ -1932,7 +1932,7 @@ bool LLWebRTCVoiceClient::sessionState::processConnectionStates()  // on our location.  bool LLWebRTCVoiceClient::estateSessionState::processConnectionStates()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (!mShuttingDown)      { @@ -2168,7 +2168,7 @@ void LLVoiceWebRTCConnection::processIceUpdates()  // will make the cap call to the server sending up the ICE candidates.  void LLVoiceWebRTCConnection::processIceUpdatesCoro()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (mShutDown || LLWebRTCVoiceClient::isShuttingDown())      { @@ -2395,7 +2395,7 @@ void LLVoiceWebRTCConnection::sendData(const std::string &data)  // The simulator will pass this on to the Secondlife WebRTC server.  void LLVoiceWebRTCConnection::breakVoiceConnectionCoro()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LL_DEBUGS("Voice") << "Disconnecting voice." << LL_ENDL;      if (mWebRTCDataInterface) @@ -2454,7 +2454,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnectionCoro()  // will use the offer and answer to negotiate the session.  void LLVoiceWebRTCSpatialConnection::requestVoiceConnection()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LLViewerRegion *regionp = LLWorld::instance().getRegionFromID(mRegionID); @@ -2527,7 +2527,7 @@ void LLVoiceWebRTCSpatialConnection::requestVoiceConnection()  void LLVoiceWebRTCConnection::OnVoiceConnectionRequestSuccess(const LLSD &result)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (LLWebRTCVoiceClient::isShuttingDown())      { @@ -2582,7 +2582,7 @@ static llwebrtc::LLWebRTCPeerConnectionInterface::InitOptions getConnectionOptio  // Secondlife WebRTC server.  bool LLVoiceWebRTCConnection::connectionStateMachine()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      processIceUpdates(); @@ -2776,7 +2776,7 @@ void LLVoiceWebRTCConnection::OnDataReceived(const std::string& data, bool binar  // this pointer.  void LLVoiceWebRTCConnection::OnDataReceivedImpl(const std::string &data, bool binary)  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      if (mShutDown)      { @@ -2943,7 +2943,7 @@ void LLVoiceWebRTCConnection::OnDataChannelReady(llwebrtc::LLWebRTCDataInterface  // to peers.  void LLVoiceWebRTCConnection::sendJoin()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      boost::json::object root; @@ -3017,7 +3017,7 @@ LLVoiceWebRTCAdHocConnection::~LLVoiceWebRTCAdHocConnection()  // So, we have a separate requestVoiceConnection call.  void LLVoiceWebRTCAdHocConnection::requestVoiceConnection()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE +    LL_PROFILE_ZONE_SCOPED_CATEGORY_VOICE;      LLViewerRegion *regionp = LLWorld::instance().getRegionFromID(mRegionID); diff --git a/indra/newview/llvosurfacepatch.cpp b/indra/newview/llvosurfacepatch.cpp index 56742751e8..471174cf5d 100644 --- a/indra/newview/llvosurfacepatch.cpp +++ b/indra/newview/llvosurfacepatch.cpp @@ -142,7 +142,7 @@ void LLVOSurfacePatch::updateGL()  {      if (mPatchp)      { -        LL_PROFILE_ZONE_SCOPED +        LL_PROFILE_ZONE_SCOPED;          mPatchp->updateGL();      }  } @@ -995,7 +995,7 @@ void gen_terrain_tangents(U16                    strider_vertex_count,                            LLStrider<LLVector2>  &texCoords0p,                            LLStrider<U16>        &indicesp)  { -    LL_PROFILE_ZONE_SCOPED +    LL_PROFILE_ZONE_SCOPED;      LLVector4a            *vertices = new LLVector4a[strider_vertex_count];      LLVector4a            *normals  = new LLVector4a[strider_vertex_count]; diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 014d4134f5..9508d33eb3 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -1264,7 +1264,7 @@ void send_agent_pause()  void send_agent_resume()  { -    LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK +    LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;      // Note: used to check for LLWorld initialization before it became a singleton.      // Rather than just remove this check I'm changing it to assure that the message      // system has been initialized. -MG  | 
