mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Make tracing available on all platforms, with or without perfetto (#33301)
* Make tracing available on all platforms Signed-off-by: Delan Azabani <dazabani@igalia.com> * Gate perfetto support behind its own feature Signed-off-by: Delan Azabani <dazabani@igalia.com> --------- Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
891562be8e
commit
c0ced7a524
8 changed files with 33 additions and 79 deletions
|
@ -40,6 +40,7 @@ pub fn init(
|
|||
callbacks: Box<dyn HostTrait>,
|
||||
) -> Result<ServoGlue, &'static str> {
|
||||
info!("Entered simpleservo init function");
|
||||
crate::init_tracing();
|
||||
resources::set(Box::new(ResourceReaderInstance::new()));
|
||||
|
||||
gl.clear_color(1.0, 1.0, 1.0, 1.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue