kitgit

tirbofish/dropbear · diff

d0ccd54 · Thribhu K

feature: TRS (translation, rotation, scale) animation implemented fix: use string id instead of typeid for storing editor tab IDs

Unverified

diff --git a/crates/dropbear-engine/src/bind_groups.rs b/crates/dropbear-engine/src/bind_groups.rs
index 762605a..0304090 100644
--- a/crates/dropbear-engine/src/bind_groups.rs
+++ b/crates/dropbear-engine/src/bind_groups.rs
@@ -40,6 +40,7 @@ impl SceneGlobalsBindGroup {
         globals_buffer: &UniformBuffer<Globals>,
         camera_buffer: &Buffer,
     ) {
+        puffin::profile_function!();
         self.bind_group = graphics
             .device
             .create_bind_group(&wgpu::BindGroupDescriptor {
diff --git a/crates/dropbear-engine/src/pipelines/hdr.rs b/crates/dropbear-engine/src/pipelines/hdr.rs
index 085951b..2a67108 100644
--- a/crates/dropbear-engine/src/pipelines/hdr.rs
+++ b/crates/dropbear-engine/src/pipelines/hdr.rs
@@ -146,6 +146,7 @@ impl HdrPipeline {
     /// This renders the internal HDR texture to the [TextureView]
     /// supplied as parameter.
     pub fn process(&self, encoder: &mut wgpu::CommandEncoder, output: &wgpu::TextureView) {
+        puffin::profile_function!();
         let mut pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
             label: Some("Hdr::process"),
             color_attachments: &[Some(wgpu::RenderPassColorAttachment {
diff --git a/crates/eucalyptus-editor/Cargo.toml b/crates/eucalyptus-editor/Cargo.toml
index 4a57944..92a90a1 100644
--- a/crates/eucalyptus-editor/Cargo.toml
+++ b/crates/eucalyptus-editor/Cargo.toml
@@ -56,6 +56,7 @@ semver.workspace = true
 serde.workspace = true
 bitflags.workspace = true
 downcast-rs.workspace = true
+puffin.workspace = true
 
 [target.'cfg(unix)'.dependencies]
 daemonize = "0.5.0"
diff --git a/crates/eucalyptus-editor/src/editor/asset_viewer.rs b/crates/eucalyptus-editor/src/editor/asset_viewer.rs
index dc25844..433c7a3 100644
--- a/crates/eucalyptus-editor/src/editor/asset_viewer.rs
+++ b/crates/eucalyptus-editor/src/editor/asset_viewer.rs
@@ -1372,6 +1372,7 @@ pub struct AssetViewerDock;
 impl EditorTabDock for AssetViewerDock {
     fn desc() -> EditorTabDockDescriptor {
         EditorTabDockDescriptor {
+            id: "asset_viewer",
             title: "Asset Viewer".to_string(),
         }
     }
diff --git a/crates/eucalyptus-editor/src/editor/build_console.rs b/crates/eucalyptus-editor/src/editor/build_console.rs
index ab423df..6e2daa8 100644

Large diffs are not rendered by default. Showing the first 50 of 240 lines. Show full diff