Virtualx Game Engine. Forked from Godot 3.6
Find a file
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
.github Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
core Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
doc Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
drivers Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
editor Merge pull request #95898 from KoBeWi/capital_of_nonexistent_properties 2024-08-22 00:10:50 +02:00
main Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
misc Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
modules Merge pull request #90993 from darksylinc/matias-TheForge 2024-08-22 00:38:22 +02:00
platform Merge pull request #90993 from darksylinc/matias-TheForge 2024-08-22 00:38:22 +02:00
scene Merge pull request #93602 from aaronp64/inspector_latency 2024-08-22 00:10:26 +02:00
servers Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
tests Simplify and fix Rect2/AABB get_support function 2024-08-19 23:55:31 -07:00
thirdparty Merge pull request #91535 from BlueCube3310/betsy-bc6h 2024-08-21 06:38:03 +02:00
.clang-format Style: Workaround clang-format 14 bug with Inline oneliner functions 2022-08-03 12:20:23 +02:00
.clang-tidy CI: Add pre-commit hook for clang-tidy 2024-06-17 11:27:18 -05:00
.editorconfig CI: Add svgo pre-commit hook 2024-06-23 08:14:54 -05:00
.git-blame-ignore-revs Template format commit to .git-blame-ignore-revs 2024-03-08 08:33:06 -06:00
.gitattributes Dotnet: Fix attributes for sln/csproj files 2024-05-03 12:21:51 -05:00
.gitignore Ignore Kate's build file 2024-06-05 12:54:33 -03:00
.mailmap Update AUTHORS and DONORS list 2024-08-14 12:55:09 +02:00
.pre-commit-config.yaml CI: Add svgo pre-commit hook 2024-06-23 08:14:54 -05:00
AUTHORS.md Update AUTHORS and DONORS list 2024-08-14 12:55:09 +02:00
CHANGELOG.md Add changelog for Godot 4.3 2024-08-15 00:57:57 +02:00
CONTRIBUTING.md Update godot documentation contribution link 2024-07-20 20:51:11 -06:00
COPYRIGHT.txt Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
DONORS.md Update AUTHORS and DONORS list 2024-08-14 12:55:09 +02:00
gles3_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
glsl_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
godot.manifest Windows: Implement DisplayServer::dialog_show and DisplayServer::dialog_input_text 2024-03-04 12:53:22 -08:00
icon.png
icon.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
icon_outlined.png
icon_outlined.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
LICENSE.txt One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
logo.png
logo.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
LOGO_LICENSE.txt Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
logo_outlined.png Convert the logo's text outlines into paths 2023-04-07 17:51:56 +02:00
logo_outlined.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
methods.py Merge pull request #93753 from Repiteo/scons/visual-studio-fixes 2024-07-22 17:30:25 +02:00
platform_methods.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
pyproject.toml CI: Migrate codespell logic to pyproject.toml 2024-06-03 10:19:58 -05:00
README.md Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
SConstruct SCons: Better validation for platform-specific opt-in drivers 2024-08-21 22:53:34 +02:00
scu_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
version.py Bump version to 4.4-dev 2024-08-15 11:39:34 +02:00

Godot Engine

Godot Engine logo

2D and 3D cross-platform game engine

Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported with one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as well as Web-based platforms and consoles.

Free, open source and community-driven

Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Godot Foundation not-for-profit.

Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur (both still maintaining the project) for several years as an in-house engine, used to publish several work-for-hire titles.

Screenshot of a 3D scene in the Godot Engine editor

Getting the engine

Binary downloads

Official binaries for the Godot editor and the export templates can be found on the Godot website.

Compiling from source

See the official docs for compilation instructions for every supported platform.

Community and contributing

Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.

The best way to get in touch with the core engine developers is to join the Godot Contributors Chat.

To get started contributing to the project, see the contributing guide. This document also includes guidelines for reporting bugs.

Documentation and demos

The official documentation is hosted on Read the Docs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from the Godot editor.

We also maintain official demos in their own GitHub repository as well as a list of awesome Godot community resources.

There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more information.

Code Triagers Badge Translate on Weblate TODOs