diff options
author | Dave Parks <davep@lindenlab.com> | 2024-09-17 18:14:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 18:14:22 -0500 |
commit | 0a617904f98ab5960379099822e4891a08137e68 (patch) | |
tree | 6b3737e63160e739d38674192f02767ed3d69490 /indra/cmake | |
parent | fd843d514a4e28f8e4a5d5595bba21ccad195e72 (diff) |
#2590 Fix for horrible FPS on Intel Mac (#2591)
* Work around for GHA mac runners not playing nice with Tracy
* Delay VBO deletion for a few frames
* Enable multithreaded GL driver and multithreaded media textures on Apple silicon
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/Tracy.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/Tracy.cmake b/indra/cmake/Tracy.cmake index ec7178c5a0..a7eac2711f 100644 --- a/indra/cmake/Tracy.cmake +++ b/indra/cmake/Tracy.cmake @@ -31,6 +31,11 @@ if (USE_TRACY) target_compile_definitions(ll::tracy INTERFACE -DTRACY_NO_BROADCAST=1 -DTRACY_ONLY_LOCALHOST=1) endif () + # GHA runners don't always provide invariant TSC support, but always build with LL_TESTS enabled + if (DARWIN AND LL_TESTS) + target_compile_definitions(ll::tracy INTERFACE -DTRACY_TIMER_FALLBACK=1) + endif () + # See: indra/llcommon/llprofiler.h add_compile_definitions(LL_PROFILER_CONFIGURATION=3) endif (USE_TRACY) |