tracy/server
Bartosz Taudul f428a5b52b
Fix popup of collapsed items near timeline start.
There are various changes involved into making this work:

1. Zone size (zsz) is no longer clamped to the timeline viewport area.
   This clamping has to be removed to prevent otherwise uncollapsed zones
   from apparently becoming small near the viewport borders. Such a small
   zone would then be collapsed, resulting in unwanted popping.
   Interesingly, only the CPU zones were clamped before. GPU zones were
   not.
2. Iteration over visible zones has to start before the visible timeline
   viewport area. Without this some zones that would be otherwise
   included in the collapsed area (started by a previous zone) may be
   fully visible. This causes child zones to be drawn and produces
   unwanted popping. (At this point threshold for continuing collapsed
   area is greater than threshold for starting it.)
3. Since the iteration now starts before timeline visible area, it may so
   happen that everything found will be in a small slice of timeline that
   is outside the screen. To fix this, the end time of last found item is
   checked against the viewport start time.
   It is always valid to access *(zitend-1), as it is in each case done
   after null set check (it == zitend).

Similar but simpler fix was also applied to per-thread call stack samples.
2023-03-09 00:38:23 +01:00
..
IconsFontAwesome6.h Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
tracy_pdqsort.h
tracy_robin_hood.h
tracy_xxhash.h
TracyBadVersion.cpp
TracyBadVersion.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyBuzzAnim.hpp
TracyCharUtil.hpp Update xxHash to 0.8.1. 2021-12-01 21:52:31 +01:00
TracyColor.cpp
TracyColor.hpp
TracyDecayValue.hpp
TracyEvent.hpp
TracyEventDebug.cpp
TracyEventDebug.hpp
TracyFileHeader.hpp
TracyFileRead.hpp
TracyFileselector.cpp
TracyFileselector.hpp
TracyFilesystem.cpp
TracyFilesystem.hpp
TracyFileWrite.hpp
TracyImGui.cpp
TracyImGui.hpp
TracyMemory.cpp Don't care about memory usage tracking data races. 2019-11-10 19:21:24 +01:00
TracyMemory.hpp
TracyMicroArchitecture.cpp
TracyMicroArchitecture.hpp
TracyMmap.cpp
TracyMmap.hpp
TracyMouse.cpp
TracyMouse.hpp
TracyPopcnt.hpp
TracyPrint.cpp Fix time rounding logic. 2022-08-28 14:50:38 +02:00
TracyPrint.hpp
TracyProtoHistory.cpp Release 0.9.1. 2023-02-26 15:30:03 +01:00
TracyProtoHistory.hpp
TracyShortPtr.hpp
TracySlab.hpp
TracySort.hpp
TracySortedVector.hpp
TracySourceContents.cpp Move source file parsing logic to a separate file. 2021-03-26 02:42:14 +01:00
TracySourceContents.hpp
TracySourceTokenizer.cpp
TracySourceTokenizer.hpp
TracySourceView.cpp Line stats may not exist, even if the line has attributed cost. 2023-03-01 19:28:58 +01:00
TracySourceView.hpp Remove support for AT&T assembly syntax. 2023-02-10 20:41:03 +01:00
TracyStorage.cpp
TracyStorage.hpp
TracyStringDiscovery.hpp
TracyTaskDispatch.cpp
TracyTaskDispatch.hpp
TracyTexture.cpp
TracyTexture.hpp
TracyTextureCompression.cpp
TracyTextureCompression.hpp
TracyThreadCompress.cpp
TracyThreadCompress.hpp
TracyTimelineController.cpp More correct shouldUpdateCenterItem. 2023-01-31 20:35:17 +01:00
TracyTimelineController.hpp Centering around the mouse pointer. 2023-01-29 19:20:26 +01:00
TracyTimelineItem.cpp Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
TracyTimelineItem.hpp Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
TracyTimelineItemCpuData.cpp Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
TracyTimelineItemCpuData.hpp Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
TracyTimelineItemGpu.cpp Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
TracyTimelineItemGpu.hpp
TracyTimelineItemPlot.cpp Calculate plot timeline taking active time span into account. 2023-03-03 22:36:04 +01:00
TracyTimelineItemPlot.hpp
TracyTimelineItemThread.cpp Include first time in CPU thread lifetime calculation. 2023-03-03 22:46:25 +01:00
TracyTimelineItemThread.hpp
TracyUserData.cpp Cosmetics. 2023-01-03 13:56:56 +01:00
TracyUserData.hpp
TracyUtility.cpp
TracyUtility.hpp
TracyVarArray.hpp
TracyVector.hpp
TracyView_Annotations.cpp
TracyView_Callstack.cpp
TracyView_Compare.cpp
TracyView_ConnectionState.cpp
TracyView_ContextSwitch.cpp
TracyView_CpuData.cpp Calculate CPU data percentages relative to active time span. 2023-03-03 22:18:08 +01:00
TracyView_FindZone.cpp Fix out-of-bounds reference. 2023-02-24 23:06:12 +01:00
TracyView_FrameOverview.cpp Only retrieve frame offset internally in GetFrameNumber(). 2023-03-04 00:32:15 +01:00
TracyView_FrameTimeline.cpp Don't pass GetFrameOffset() results to GetFrameText(). 2023-03-04 00:29:00 +01:00
TracyView_FrameTree.cpp
TracyView_GpuTimeline.cpp Fix popup of collapsed items near timeline start. 2023-03-09 00:38:23 +01:00
TracyView_Locks.cpp Mark activity when lock is highlighting. 2022-09-28 01:12:05 +02:00
TracyView_Memory.cpp Use fixed-width font to draw addresses. 2023-01-05 22:20:56 +01:00
TracyView_Messages.cpp
TracyView_Navigation.cpp
TracyView_NotificationArea.cpp Remove VisData. 2022-09-04 14:46:51 +02:00
TracyView_Options.cpp
TracyView_Playback.cpp Only retrieve frame offset internally in GetFrameNumber(). 2023-03-04 00:32:15 +01:00
TracyView_Plots.cpp
TracyView_Ranges.cpp
TracyView_Samples.cpp Fix popup of collapsed items near timeline start. 2023-03-09 00:38:23 +01:00
TracyView_Statistics.cpp Calculate statistics percentages relative to active time span. 2023-03-03 22:19:43 +01:00
TracyView_Timeline.cpp Dim timeline before first time. 2023-03-03 22:25:07 +01:00
TracyView_TraceInfo.cpp
TracyView_Utility.cpp Only retrieve frame offset internally in GetFrameNumber(). 2023-03-04 00:32:15 +01:00
TracyView_ZoneInfo.cpp
TracyView_ZoneTimeline.cpp Fix popup of collapsed items near timeline start. 2023-03-09 00:38:23 +01:00
TracyView.cpp Make view mode heuristic work correctly in on demand mode. 2023-03-04 00:37:38 +01:00
TracyView.hpp Only retrieve frame offset internally in GetFrameNumber(). 2023-03-04 00:32:15 +01:00
TracyViewData.hpp
TracyWeb.cpp Support opening web pages on emscripten. 2022-10-05 01:22:35 +02:00
TracyWeb.hpp Move OpenWebpage() to a separate source file. 2021-06-04 15:17:14 +02:00
TracyWorker.cpp Use on demand flag in GetFirstTime(). 2023-03-04 00:33:52 +01:00
TracyWorker.hpp Add on demand mode flag accessor. 2023-03-04 00:19:58 +01:00