diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-25 00:32:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 00:32:00 +0200 |
commit | a09e035695c3c328e4e31c7437c45fd41cc2ce68 (patch) | |
tree | cc2b2ff2f4cc04eb5d8b29c420f377d52d4616f0 /editor/debugger/script_editor_debugger.h | |
parent | 77843bde77a1a9e617560dc71741c7516ede6795 (diff) | |
parent | a037232a67a571e728f4ea90977fa699c546a13d (diff) |
Merge pull request #37107 from RandomShaper/imvu/export_vmem
Add ability to export debugger's VRAM usage report
Diffstat (limited to 'editor/debugger/script_editor_debugger.h')
-rw-r--r-- | editor/debugger/script_editor_debugger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.h b/editor/debugger/script_editor_debugger.h index 9cb7dc2edf..a08a7c67c2 100644 --- a/editor/debugger/script_editor_debugger.h +++ b/editor/debugger/script_editor_debugger.h @@ -88,6 +88,11 @@ private: PopupMenu *item_menu; EditorFileDialog *file_dialog; + enum FileDialogPurpose { + SAVE_MONITORS_CSV, + SAVE_VRAM_CSV, + }; + FileDialogPurpose file_dialog_purpose; int error_count; int warning_count; @@ -121,6 +126,7 @@ private: Tree *vmem_tree; Button *vmem_refresh; + Button *vmem_export; LineEdit *vmem_total; Tree *stack_dump; @@ -160,6 +166,7 @@ private: void _remote_object_property_updated(ObjectID p_id, const String &p_property); void _video_mem_request(); + void _video_mem_export(); int _get_node_path_cache(const NodePath &p_path); |