diff options
author | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2024-07-10 10:52:42 -0700 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2024-08-16 09:27:41 -0700 |
commit | a57a99f5bcf38d4af4466b26f1b9effe3bedd870 (patch) | |
tree | 4e2dfd014fa869f7ffc24de0c97caeda46f171d3 /drivers/vulkan/rendering_context_driver_vulkan.cpp | |
parent | 2f2d1a7e68d315e5f26cde30532a51087536c9f6 (diff) | |
download | redot-engine-a57a99f5bcf38d4af4466b26f1b9effe3bedd870.tar.gz |
Memory cleanup and optimizations
- Returns an empty list when there's not registered plugins, thus preventing the creation of spurious iterator objects
- Inline `Godot#getRotatedValues(...)` given it only had a single caller. This allows to remove the allocation of a float array on each call and replace it with float variables
- Disable sensor events by default. Sensor events can fired at 10-100s Hz taking cpu and memory resources. Now the use of sensor data is behind a project setting allowing projects that have use of it to enable it, while other projects don't pay the cost for a feature they don't use
- Create a pool of specialized input `Runnable` objects to prevent spurious, unbounded `Runnable` allocations
- Disable showing the boot logo for Android XR projects
- Delete locale references of jni strings
Diffstat (limited to 'drivers/vulkan/rendering_context_driver_vulkan.cpp')
0 files changed, 0 insertions, 0 deletions