Commit Graph

133 Commits

Author SHA1 Message Date
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
virusbear f18c121586 Fix texture blit source texture naming 2026-03-18 11:40:52 -05:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
Rémi Verschelde 8028b65442 Remove unused includes in scene with clangd-tidy 2026-03-10 16:40:00 +01:00
Thaddeus Crews b5613b27e4 Merge pull request #116412 from YeldhamDev/marginalized_shader_editor
Fix `ShaderEditor`'s UI overflowing when shrunk
2026-03-09 15:18:12 -05:00
kit 339bc4f88f SplitContainer drag nested intersections 2026-03-05 10:35:02 -05:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Michael Alexsander 6769f5343c Fix ShaderEditor's UI overflowing when shrunk 2026-03-02 19:32:22 -03:00
Thaddeus Crews 1aaea38e7f Merge pull request #111573 from StarryWorm/rm-class_db.h-from-resource.h
Core: remove `class_db.h` include from `resource.h`
2026-02-28 13:55:24 -06:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews 634220e9fc Merge pull request #114971 from KoBeWi/resettings
Reorganize interface/editor setttings
2026-02-27 15:44:44 -06:00
Thaddeus Crews dd150a3823 Merge pull request #116413 from Chaosus/shader_fix_completion
Fixes for completion of shader preprocessor defines
2026-02-27 15:44:40 -06:00
kobewi 1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
Thaddeus Crews 28c37846d8 Merge pull request #111547 from sockeye-d/script-editor-join-lines
Add script editor `join_lines` keybind
2026-02-27 08:49:31 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde 0ce92073ae Move RS::ShaderNativeSourceCode to RenderingServerTypes to reduce dependencies on RS
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 1s, and paves the way for more decoupling in
rendering code.
2026-02-25 20:17:27 +01:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Chaosus ef933c9235 Add smooth to the changing of properties values in visual shader 2026-02-23 14:11:29 +03:00
Chaosus cd5f2aa923 Fixes for completion of shader preprocessor defines 2026-02-22 10:26:03 +03:00
fish 4d294caac9 Add script editor join line functionality 2026-02-20 15:59:41 -08:00
Thaddeus Crews ad4c2c3da8 Merge pull request #116097 from KoBeWi/but_who_will_validate_validation_panel
Fix auto-translation of EditorValidationPanel
2026-02-18 17:28:30 -06:00
Thaddeus Crews 1e12317895 Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
arkology f3df9c2434 Convert "Line and column numbers" label to button 2026-02-11 14:01:03 +00:00
kobewi e0225265b4 Fix auto-translation of EditorValidationPanel 2026-02-09 13:52:42 +01:00
Thaddeus Crews f801f496a8 Merge pull request #115193 from skiessq/fix-visual-shader-frame-duplication
VisualShader: Fix nodes not attaching to new Frame on duplication
2026-02-06 08:18:02 -06:00
kobewi d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Rémi Verschelde 63c78e684b Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Lukas Tenbrink 7072a9a874 Change List copy constructor from implicit to explicit. 2026-01-30 18:58:42 +01:00
Thaddeus Crews e36d624a30 Merge pull request #115607 from Ivorforce/sunless-sky
Remove `sky.h` include from `environment.h`, to speed up compile time.
2026-01-30 09:32:14 -06:00
Thaddeus Crews fd6e80d4e9 Merge pull request #105701 from ColinSORourke/DrawableTexture
Implement DrawableTextures
2026-01-30 09:32:05 -06:00
Lukas Tenbrink 1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
kobewi 4274f8b543 Replace DockSlot with DockTabContainer 2026-01-29 16:52:01 +01:00
Colin O'Rourke 63f6e3691c DrawableTextures
Implementing DrawableTextures based on: https://github.com/godotengine/godot-proposals/issues/7379
2026-01-29 01:16:06 -08:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Thaddeus Crews 98b40fa189 Merge pull request #113748 from KoBeWi/shadragger
Allow dragging from shader editor to material
2026-01-27 15:18:29 -06:00
Thaddeus Crews 04a2ae7ed4 Merge pull request #99119 from Fahien/fahien/raytracing-base
Vulkan raytracing plumbing
2026-01-27 15:18:24 -06:00
Antonio Caggiano 27e4f24800 raytracing: Initial Vulkan support
- Vulkan implementations in `RenderingDeviceDriverVulkan`.
- Raytracing instruction list in `RenderingDeviceGraph`.
- Functions to create acceleration structures and raytracing pipelines
  in `RenderingDevice`.
- Raygen, Miss, and ClosestHit shader stages support.
- GDScript bindings.
- Update classes documentation.
- Unimplemented placeholders for Metal and D3D12.
- Build acceleration structure command.
- Expose a shader preprocessor define.
- Align build scratch address.
- Create STB after creating the pipeline.
- Separate acceleration structure barriers.
- Use transforms in TLAS instances.
- AnyHit and Intersection stages.
- Optionally set acceleration structure build input buffer usage.
- Introduce instances buffer.
- Move scratch buffers to RenderingDevice.
- Rename AccelerationStructureGeometryBits.
- Use regular buffer creation and free routines for scratch buffer.
- Store trackers in acceleration structures.
- Bump Shader SPIR-V version to 1.4
- Add Position attribute location in blas_create.
- Encapsulate MoltenVK check in preprocessor macro.
- Split SUPPORTS_RAYTRACING for pipeline and query.
2026-01-27 16:17:45 +01:00
Thaddeus Crews 07a2c75ec4 Merge pull request #115326 from Chaosus/vs_spatial_all_in_shadow_pass
[VisualShader] Add `in_shadow_pass` spatial input
2026-01-27 09:04:23 -06:00
Thaddeus Crews 7f31ae1564 Merge pull request #115325 from Chaosus/vs_spatial_light_specular_amount
[VisualShader] Add `specular_amount` spatial light input
2026-01-27 09:04:22 -06:00
Chaosus f91f2861cf [VisualShader] Add in_shadow_pass spatial input 2026-01-24 12:38:36 +03:00
Chaosus 4f0a0367fd [VisualShader] Add specular_amount spatial light input 2026-01-24 12:35:33 +03:00
Michael Alexsander 4eafa3c587 Fix code completion popup colors not being updated properly 2026-01-23 18:40:58 -03:00
Tiago Carreira e0e897c2ec VisualShader: Fix nodes not attaching to new Frame on duplication 2026-01-20 20:50:45 +00:00