godot/core
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
..
config Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
crypto [Crypto] Expose TLSOptions getters 2024-06-14 22:33:10 +02:00
debugger Fix Game window stops responding when debugger pauses 2024-07-10 13:38:57 -07:00
error Fixed Timestep Interpolation: MultiMesh 2024-08-18 17:14:59 +02:00
extension Fix reload of GDExtension libraries in framework package on macos 2024-08-08 08:31:49 -06:00
input Merge pull request #94799 from m4gr3d/memory_allocation_cleanup_and_optimizations 2024-08-16 23:45:39 +02:00
io Merge pull request #94801 from gamelessone/fix-cond-var 2024-08-21 11:14:22 +02:00
math Simplify and fix Rect2/AABB get_support function 2024-08-19 23:55:31 -07:00
object Merge pull request #93602 from aaronp64/inspector_latency 2024-08-22 00:10:26 +02:00
os Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
string Merge pull request #94683 from kisg/string_name_fix 2024-08-19 16:05:16 +02:00
templates Merge pull request #95469 from bruvzg/cowdata_unref 2024-08-16 10:36:28 +02:00
variant Simplify and fix Rect2/AABB get_support function 2024-08-19 23:55:31 -07:00
core_bind.cpp Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
core_bind.h Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
core_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
core_constants.cpp
core_constants.h
core_globals.cpp
core_globals.h
core_string_names.cpp Cleanup unused/underused singleton StringNames 2024-05-14 18:18:29 +02:00
core_string_names.h Cleanup unused/underused singleton StringNames 2024-05-14 18:18:29 +02:00
doc_data.cpp
doc_data.h
register_core_types.cpp Split TranslationServer into its own file 2024-08-15 15:00:47 +08:00
register_core_types.h
SCsub SCons: Fix mono dependency 2024-06-01 16:37:54 -05:00
typedefs.h
version.h