godot/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
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
renderer_canvas_render.h Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
renderer_compositor.cpp
renderer_compositor.h
renderer_geometry_instance.cpp
renderer_geometry_instance.h
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
renderer_scene_occlusion_cull.h
renderer_scene_render.cpp
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
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_binds.cpp
rendering_device_binds.h
rendering_device_commons.cpp
rendering_device_commons.h Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
rendering_device_driver.cpp
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_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_light_culler.cpp
rendering_light_culler.h
rendering_method.cpp
rendering_method.h Implement support for bicubic lightmap filtering 2024-08-19 09:52:09 +02:00
rendering_server_constants.h
rendering_server_default.cpp
rendering_server_default.h Merge pull request #91818 from rburing/fti_multimesh 2024-08-20 10:01:46 +02:00
rendering_server_globals.cpp
rendering_server_globals.h
SCsub
shader_compiler.cpp
shader_compiler.h
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
shader_preprocessor.h
shader_types.cpp
shader_types.h
shader_warnings.cpp
shader_warnings.h