summaryrefslogtreecommitdiffstats
path: root/drivers/vulkan/rendering_context_driver_vulkan.cpp
diff options
context:
space:
mode:
authoraaronp64 <aaronp.code@gmail.com>2024-06-24 10:09:20 -0400
committeraaronp64 <aaronp.code@gmail.com>2024-08-20 13:39:40 -0400
commit7593e55527177d0dfb5ad536330b50e272bd93d4 (patch)
tree409a1b5f9ac9c58040e3e5261df1f7bc14234dd1 /drivers/vulkan/rendering_context_driver_vulkan.cpp
parent6b281c0c07b07f2142b1fc8a6b3158091a9b124c (diff)
downloadredot-engine-7593e55527177d0dfb5ad536330b50e272bd93d4.tar.gz
Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab - Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions - Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes() - Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead - Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
Diffstat (limited to 'drivers/vulkan/rendering_context_driver_vulkan.cpp')
0 files changed, 0 insertions, 0 deletions