diff options
Diffstat (limited to 'third_party/rust/gpu-allocator/src/allocator/dedicated_block_allocator/visualizer.rs')
-rw-r--r-- | third_party/rust/gpu-allocator/src/allocator/dedicated_block_allocator/visualizer.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/gpu-allocator/src/allocator/dedicated_block_allocator/visualizer.rs b/third_party/rust/gpu-allocator/src/allocator/dedicated_block_allocator/visualizer.rs new file mode 100644 index 0000000000..a2cd4d2058 --- /dev/null +++ b/third_party/rust/gpu-allocator/src/allocator/dedicated_block_allocator/visualizer.rs @@ -0,0 +1,8 @@ +use super::DedicatedBlockAllocator; +use crate::visualizer::SubAllocatorVisualizer; + +impl SubAllocatorVisualizer for DedicatedBlockAllocator { + fn draw_base_info(&self, ui: &mut egui::Ui) { + ui.label("Dedicated Block"); + } +} |