From 3602876b5e62ac64cc6ef7543e87c72b364939ee Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 11 Oct 2023 14:53:53 +0400 Subject: Add a few more Tracy spans --- src/layout.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/layout.rs') diff --git a/src/layout.rs b/src/layout.rs index 4754e385..b9b404ab 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -1079,6 +1079,8 @@ impl Layout { } pub fn advance_animations(&mut self, current_time: Duration) { + let _span = tracy_client::span!("Layout::advance_animations"); + match &mut self.monitor_set { MonitorSet::Normal { monitors, @@ -1608,6 +1610,8 @@ impl Monitor { &self, renderer: &mut GlesRenderer, ) -> Vec> { + let _span = tracy_client::span!("Monitor::render_elements"); + let output_scale = Scale::from(self.output.current_scale().fractional_scale()); let output_transform = self.output.current_transform(); let output_mode = self.output.current_mode().unwrap(); -- cgit