mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Added more complex profiling metadata.
This commit is contained in:
parent
787a683365
commit
6bc63d47cd
10 changed files with 123 additions and 69 deletions
|
@ -922,7 +922,7 @@ impl IOCompositor {
|
|||
}
|
||||
|
||||
fn composite(&mut self) {
|
||||
profile(time::CompositingCategory, self.time_profiler_chan.clone(), || {
|
||||
profile(time::CompositingCategory, None, self.time_profiler_chan.clone(), || {
|
||||
debug!("compositor: compositing");
|
||||
// Adjust the layer dimensions as necessary to correspond to the size of the window.
|
||||
self.scene.size = self.window_size.as_f32().to_untyped();
|
||||
|
@ -993,4 +993,3 @@ impl IOCompositor {
|
|||
self.recomposite = result || self.recomposite;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue