diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-10 14:12:20 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-10 14:50:51 +0400 |
| commit | 0ed5bad452113eaa55b88c8fc46d36badea43286 (patch) | |
| tree | f3994fb64b3ff7ffcd8816b7da9bc8045f41efd4 /src/handlers | |
| parent | 18b9d0dfccc0917ffcc2cf8017d0a346a8df143b (diff) | |
| download | niri-0ed5bad452113eaa55b88c8fc46d36badea43286.tar.gz niri-0ed5bad452113eaa55b88c8fc46d36badea43286.tar.bz2 niri-0ed5bad452113eaa55b88c8fc46d36badea43286.zip | |
Add tracy profiling under a feature
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/compositor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index b2666f7f..1cd781f6 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -24,6 +24,10 @@ impl CompositorHandler for Niri { } fn commit(&mut self, surface: &WlSurface) { + tracy_client::Client::running() + .unwrap() + .message("client commit", 0); + on_commit_buffer_handler::<Self>(surface); if !is_sync_subsurface(surface) { let mut root = surface.clone(); |
