Add support for profiling using tracy
This commit is contained in:
parent
929f4fcb05
commit
a1c8b3aa3e
18 changed files with 122 additions and 5 deletions
|
|
@ -184,6 +184,7 @@ where
|
|||
)
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn draw_dnd_icon<R>(
|
||||
renderer: &mut R,
|
||||
surface: &wl_surface::WlSurface,
|
||||
|
|
@ -301,6 +302,7 @@ impl Default for CursorState {
|
|||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn draw_cursor<R>(
|
||||
renderer: &mut R,
|
||||
seat: &Seat<State>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue