virtualx-engine/servers/rendering
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
..
dummy Merge pull request #91818 from rburing/fti_multimesh 2024-08-20 10:01:46 +02:00
environment Reset SDFGI when changing editor scene tabs 2023-08-30 19:50:05 +03:00
renderer_rd Merge pull request #90993 from darksylinc/matias-TheForge 2024-08-22 00:38:22 +02:00
storage Fixed Timestep Interpolation: MultiMesh 2024-08-18 17:14:59 +02:00
renderer_canvas_cull.cpp Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
renderer_canvas_cull.h Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
renderer_canvas_render.cpp Avoid crashes when engine leaks canvas items and friends 2023-12-20 13:19:46 +01:00
renderer_canvas_render.h Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
renderer_compositor.cpp fix missing cleanup and null checks for various singletons 2024-06-18 01:05:30 -07:00
renderer_compositor.h Fix regression around OpenGL swapchain optimisation for OpenXR 2024-07-29 12:46:58 +10:00
renderer_geometry_instance.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renderer_geometry_instance.h Expose RD::texture_native_handle 2023-06-14 09:58:08 +10:00
renderer_scene_cull.cpp Fixed Timestep Interpolation: MultiMesh 2024-08-18 17:14:59 +02:00
renderer_scene_cull.h Implement support for bicubic lightmap filtering 2024-08-19 09:52:09 +02:00
renderer_scene_occlusion_cull.cpp Jitter raster occlusion camera to reduce false positives. 2024-04-03 12:18:45 +01:00
renderer_scene_occlusion_cull.h [Core] Add scalar versions of Vector* min/max/clamp/snap(ped) 2024-05-02 10:31:13 +02:00
renderer_scene_render.cpp Implement hooks into renderer 2024-02-18 21:54:21 +11:00
renderer_scene_render.h Implement support for bicubic lightmap filtering 2024-08-19 09:52:09 +02:00
renderer_viewport.cpp Merge pull request #92496 from clayjohn/HDR-2D-sRGB 2024-08-19 12:08:40 +02:00
renderer_viewport.h Ensure MovieWriter output is in gamma space when using HDR 2D 2024-05-28 15:30:13 -07:00
rendering_context_driver.cpp Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
rendering_context_driver.h Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
rendering_device.compat.inc Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_device.cpp Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
rendering_device.h Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
rendering_device_binds.cpp Remove useless instantiation in RDShaderFile::parse_versions_from_text 2024-06-27 08:57:06 +02:00
rendering_device_binds.h Implement hooks into renderer 2024-02-18 21:54:21 +11:00
rendering_device_commons.cpp Make shader binary alignment handling simpler and more robust 2024-03-06 11:48:23 +01:00
rendering_device_commons.h Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_device_driver.cpp Add support for enhanced barriers in D3D12. 2024-05-20 13:04:44 -03:00
rendering_device_driver.h Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_device_graph.cpp Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_device_graph.h Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_light_culler.cpp Tighter light culling - fix directional lights colinear case 2024-05-10 09:13:05 +01:00
rendering_light_culler.h Tight shadow culling - increase epsilon to prevent flickering 2024-05-18 14:14:27 +01:00
rendering_method.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rendering_method.h Implement support for bicubic lightmap filtering 2024-08-19 09:52:09 +02:00
rendering_server_constants.h Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
rendering_server_default.cpp Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
rendering_server_default.h Merge pull request #91818 from rburing/fti_multimesh 2024-08-20 10:01:46 +02:00
rendering_server_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rendering_server_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Split dependency logic 2022-06-28 00:10:29 +10:00
shader_compiler.cpp Fix texture samplers to not being last in the property list 2024-07-29 09:19:09 +03:00
shader_compiler.h Change shader compiler default setting to avoid doctool error 2024-02-29 11:01:56 +08:00
shader_language.cpp Merge pull request #94324 from SomeRanDev/shader_hint_enum 2024-08-20 10:01:57 +02:00
shader_language.h Merge pull request #94324 from SomeRanDev/shader_hint_enum 2024-08-20 10:01:57 +02:00
shader_preprocessor.cpp Fix shader language preprocessor include marker handling 2023-09-06 16:57:40 +03:00
shader_preprocessor.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
shader_types.cpp Prevent changing some built-ins in spatial shaders 2024-06-17 19:18:14 +03:00
shader_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_warnings.cpp Warn users when assigning VERTEX directly to POSITION due to compatibility breakage from reverse z changes 2024-04-12 10:38:35 -07:00
shader_warnings.h Warn users when assigning VERTEX directly to POSITION due to compatibility breakage from reverse z changes 2024-04-12 10:38:35 -07:00