Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

36
vendor/profiling/src/puffin_impl.rs vendored Normal file
View File

@@ -0,0 +1,36 @@
#[macro_export]
macro_rules! scope {
($name:expr) => {
$crate::puffin::profile_scope!($name);
};
($name:expr, $data:expr) => {
$crate::puffin::profile_scope!($name, $data);
};
}
#[macro_export]
macro_rules! function_scope {
() => {
$crate::puffin::profile_function!();
};
($data:expr) => {
$crate::puffin::profile_function!($data);
};
}
#[macro_export]
macro_rules! register_thread {
() => {};
($name:expr) => {
// puffin uses the thread name
};
}
/// Finishes the frame. This isn't strictly necessary for some kinds of applications but a pretty
/// normal thing to track in games.
#[macro_export]
macro_rules! finish_frame {
() => {
$crate::puffin::GlobalProfiler::lock().new_frame();
};
}