virtualx-engine/main
Matias N. Goldberg 59d0422dcd Disable extra memory tracking by default
PR #90993 added several debugging utilities.

Among them, advanced memory tracking through the use of custom
allocators and VK_EXT_device_memory_report.

However as issue #95967 reveals, it is dangerous to leave it on by
default because drivers (or even the Vulkan loader) can too easily
accidentally break custom allocators by allocating memory through std
malloc but then request us to deallocate it (or viceversa).

This PR fixes the following problems:
 - Adds --extra-gpu-memory-tracking cmd line argument
 - Adds missing enum entries to
RenderingContextDriverVulkan::VkTrackedObjectType
 - Adds RenderingDevice::get_driver_and_device_memory_report
    - GDScript users can easily check via print(
RenderingServer.get_rendering_device().get_driver_and_device_memory_report()
)
- Uses get_driver_and_device_memory_report on device lost for appending
further info.

Fixes #95967
2024-08-24 20:52:39 -03:00
..
app_icon.png
main.cpp Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
main.h Cleanup Android input on render thread settings 2024-07-09 09:15:18 -07:00
main_builders.py SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
main_timer_sync.cpp Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
main_timer_sync.h Add frame delta smoothing option (4.x) 2023-05-16 13:57:25 +01:00
performance.cpp Add navigation obstacles to performance monitor stats 2024-06-25 05:17:27 +02:00
performance.h Add navigation obstacles to performance monitor stats 2024-06-25 05:17:27 +02:00
SCsub Enable optional minimal SteamAPI integration for usage time tracking (editor only). 2024-05-31 11:01:02 +03:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
steam_tracker.cpp Enable optional minimal SteamAPI integration for usage time tracking (editor only). 2024-05-31 11:01:02 +03:00
steam_tracker.h Enable optional minimal SteamAPI integration for usage time tracking (editor only). 2024-05-31 11:01:02 +03:00