mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
f428a5b52b
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. |
||
---|---|---|
.. | ||
IconsFontAwesome6.h | ||
tracy_pdqsort.h | ||
tracy_robin_hood.h | ||
tracy_xxhash.h | ||
TracyBadVersion.cpp | ||
TracyBadVersion.hpp | ||
TracyBuzzAnim.hpp | ||
TracyCharUtil.hpp | ||
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 | ||
TracyMemory.hpp | ||
TracyMicroArchitecture.cpp | ||
TracyMicroArchitecture.hpp | ||
TracyMmap.cpp | ||
TracyMmap.hpp | ||
TracyMouse.cpp | ||
TracyMouse.hpp | ||
TracyPopcnt.hpp | ||
TracyPrint.cpp | ||
TracyPrint.hpp | ||
TracyProtoHistory.cpp | ||
TracyProtoHistory.hpp | ||
TracyShortPtr.hpp | ||
TracySlab.hpp | ||
TracySort.hpp | ||
TracySortedVector.hpp | ||
TracySourceContents.cpp | ||
TracySourceContents.hpp | ||
TracySourceTokenizer.cpp | ||
TracySourceTokenizer.hpp | ||
TracySourceView.cpp | ||
TracySourceView.hpp | ||
TracyStorage.cpp | ||
TracyStorage.hpp | ||
TracyStringDiscovery.hpp | ||
TracyTaskDispatch.cpp | ||
TracyTaskDispatch.hpp | ||
TracyTexture.cpp | ||
TracyTexture.hpp | ||
TracyTextureCompression.cpp | ||
TracyTextureCompression.hpp | ||
TracyThreadCompress.cpp | ||
TracyThreadCompress.hpp | ||
TracyTimelineController.cpp | ||
TracyTimelineController.hpp | ||
TracyTimelineItem.cpp | ||
TracyTimelineItem.hpp | ||
TracyTimelineItemCpuData.cpp | ||
TracyTimelineItemCpuData.hpp | ||
TracyTimelineItemGpu.cpp | ||
TracyTimelineItemGpu.hpp | ||
TracyTimelineItemPlot.cpp | ||
TracyTimelineItemPlot.hpp | ||
TracyTimelineItemThread.cpp | ||
TracyTimelineItemThread.hpp | ||
TracyUserData.cpp | ||
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 | ||
TracyView_FindZone.cpp | ||
TracyView_FrameOverview.cpp | ||
TracyView_FrameTimeline.cpp | ||
TracyView_FrameTree.cpp | ||
TracyView_GpuTimeline.cpp | ||
TracyView_Locks.cpp | ||
TracyView_Memory.cpp | ||
TracyView_Messages.cpp | ||
TracyView_Navigation.cpp | ||
TracyView_NotificationArea.cpp | ||
TracyView_Options.cpp | ||
TracyView_Playback.cpp | ||
TracyView_Plots.cpp | ||
TracyView_Ranges.cpp | ||
TracyView_Samples.cpp | ||
TracyView_Statistics.cpp | ||
TracyView_Timeline.cpp | ||
TracyView_TraceInfo.cpp | ||
TracyView_Utility.cpp | ||
TracyView_ZoneInfo.cpp | ||
TracyView_ZoneTimeline.cpp | ||
TracyView.cpp | ||
TracyView.hpp | ||
TracyViewData.hpp | ||
TracyWeb.cpp | ||
TracyWeb.hpp | ||
TracyWorker.cpp | ||
TracyWorker.hpp |