kms: Add tracy profiling

This commit is contained in:
Victoria Brekenfeld 2025-04-24 18:50:16 +02:00 committed by Victoria Brekenfeld
parent 5672e0399d
commit d1e0e28d3c
5 changed files with 109 additions and 12 deletions

View file

@ -47,6 +47,7 @@ use std::{
fmt,
path::{Path, PathBuf},
sync::{atomic::AtomicBool, mpsc::Receiver, Arc, RwLock},
time::Duration,
};
use super::{drm_helpers, socket::Socket, surface::Surface};
@ -64,6 +65,7 @@ pub type GbmDrmOutputManager = DrmOutputManager<
Option<(
OutputPresentationFeedback,
Receiver<(ScreencopyFrame, Vec<Rectangle<i32, BufferCoords>>)>,
Duration,
)>,
DrmDeviceFd,
>;