DRTVWR-559: Replace debugLoggingEnabled() function with LL_DEBUGS().
The trouble with debugLoggingEnabled() is that it locked mutexes and searched maps every time that call was reached. LL_DEBUGS() has the same functionality (albeit with idiosyncratic syntax) but performs expensive lookups only once per session, caching the result in a local static variable.
Showing
- indra/cmake/FMODSTUDIO.cmake 1 addition, 1 deletionindra/cmake/FMODSTUDIO.cmake
- indra/llcommon/llcallstack.h 6 additions, 6 deletionsindra/llcommon/llcallstack.h
- indra/llcommon/llerror.cpp 0 additions, 14 deletionsindra/llcommon/llerror.cpp
- indra/llcommon/llerror.h 23 additions, 1 deletionindra/llcommon/llerror.h
- indra/llwindow/llwindowwin32.cpp 39 additions, 85 deletionsindra/llwindow/llwindowwin32.cpp
- indra/newview/llappviewerwin32.cpp 20 additions, 16 deletionsindra/newview/llappviewerwin32.cpp
- indra/newview/llviewerstats.cpp 5 additions, 6 deletionsindra/newview/llviewerstats.cpp
- indra/newview/llvoavatar.cpp 7 additions, 5 deletionsindra/newview/llvoavatar.cpp
- indra/newview/llvovolume.cpp 20 additions, 23 deletionsindra/newview/llvovolume.cpp
- indra/newview/pipeline.cpp 8 additions, 9 deletionsindra/newview/pipeline.cpp
Loading
Please register or sign in to comment