Commit Graph

6703 Commits

Author SHA1 Message Date
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Rémi Verschelde f1d63278d7 Remove unused includes in servers with clangd-tidy 2026-03-10 21:42:23 +01:00
Thaddeus Crews 2288a8a898 Merge pull request #114505 from m4gr3d/add_pip_project_setting
Add support for picture-in-picture
2026-03-10 14:11:04 -05:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
Rémi Verschelde 1d5e34ed7b Merge pull request #114596 from bruvzg/ac_019
Update AccessKit to 0.21.1
2026-03-10 10:29:16 +01:00
Thaddeus Crews cc970e91e5 Merge pull request #116888 from Chaosus/shader_fix_struct
Allow using a struct name as a variable name in shaders
2026-03-09 15:18:11 -05:00
Pāvels Nadtočajevs 2bc2e93e88 Update AccessKit to 0.21.1 2026-03-09 20:39:42 +02:00
David Snopek 4a71c4fc68 Switch XRServer to use LocalVector for interfaces and do a little clean up 2026-03-07 08:28:46 -06:00
Fredia Huya-Kouadio ef0163ba9f Add support for PiP mode 2026-03-06 23:29:16 -08:00
mxtherfxcker d5ebd33d72 Fix SDFGI ignoring visual layers of geometry instances 2026-03-06 12:35:16 -06:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews 4296a0c158 Merge pull request #116752 from BastiaanOlij/cleanup_is_frustum
Clean up `is_frustum` projection code
2026-03-04 14:32:33 -06:00
Thaddeus Crews 7438a39a13 Merge pull request #114324 from m4gr3d/support_composition_layers_anywhere_in_tree
Support composition layers anywhere in the tree
2026-03-04 11:20:32 -06: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 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +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 76f45883a7 Refactor DisplayServer declaration with API sections 2026-03-03 12:48:07 +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
Thaddeus Crews a19e5c4b53 Merge pull request #116830 from goatchurchprime/gtch/spectrumanalyzerbug2
Fix AudioSpectrumAnalyzer's Hann Window
2026-03-02 15:53:53 -06:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02: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
Chaosus 9c3e52f38e Allow using a struct name as a variable name in shaders 2026-02-28 15:08:00 +03:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05: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
Thaddeus Crews e42575d23f Merge pull request #113956 from allenwp/colour/remove-LinearToSRGB-clamping
Remove clamping from LinearToSRGB visual shader node.
2026-02-27 08:49:33 -06:00
Thaddeus Crews 60b00753d6 Merge pull request #109004 from DDarby-Lewis/master
Editor additions for MipMaps and rd_textures
2026-02-27 08:49:28 -06:00
DDarby-Lewis bf326793ba Editor additions for MipMaps and rd_textures 2026-02-27 08:38:13 -06:00
Julian Todd cc38aa6d30 Fix Hann window on Spectrum Analyzer. 2026-02-27 09:32:57 +00:00
Fredia Huya-Kouadio b389d580ac Support composition layers anywhere in the tree 2026-02-26 21:54:26 -08:00
Thaddeus Crews abdde1b69d Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Allen Pestaluky dce001aee7 Remove clamping from LinearToSRGB visual shader node. 2026-02-26 11:49:26 -05:00
Thaddeus Crews 861d74c09d Merge pull request #115799 from BastiaanOlij/add_view_count_to_viewport
Add view count support to Viewport
2026-02-26 08:15:13 -06:00
Bastiaan Olij f3a815238b Add view count support to Viewport 2026-02-26 12:37:21 +11:00
Rémi Verschelde e3b60a1530 Move RenderingMethod::RenderInfo to RenderingServerTypes
Also move RS::scaling_3d_mode_type to RenderingServerEnums.
2026-02-25 20:17:28 +01:00
Rémi Verschelde 462f31801d Decouple RasterizerDummy from RenderingServer and DisplayServer
Also move some Extension classes to a separate file to avoid including gdvirtual
unnecessarily.
2026-02-25 20:17:28 +01:00
Rémi Verschelde 671864fb05 Decouple TextureStorage from RenderingServer
By moving RS::TextureDetect(Roughness)Callback and RS::TextureInfo
to RenderingServerTypes.
2026-02-25 20:17:28 +01:00
Rémi Verschelde cb9b4cff90 Decouple MeshStorage from RenderingServer
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.

This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01:00
Rémi Verschelde a85df7cc73 Minimize includes in renderer_compositor.h 2026-02-25 20:17:27 +01: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 f0a448540e Misc dependency improvements for files depending on rendering_server.h
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 3s.
2026-02-25 20:17:27 +01:00
Rémi Verschelde 25bfae8ff9 Remove RenderingServer::map_scaling_option_to_stretch_mode and cleanup boot splash code
Removes RS as a dependency in `project_settings.cpp` (which was a bug,
`core` shouldn't include `servers`). This doesn't have a big impact on
incremental rebuild time by itself.

Also move helper `get_splash_stretched_screen_rect` to RenderingServerTypes.
2026-02-25 20:17:27 +01:00
Rémi Verschelde a3cb56dd38 Decouple RenderingServer from XR/OpenXR headers
Move BlitToScreen to RenderingServerTypes.
2026-02-25 20:17:23 +01:00
Rémi Verschelde b144637ae1 Decouple RenderingServer from ServersDebugger
This one doesn't seem to have much impact on incremental rebuild time
after a change in `rendering_server.h`, but might still be worth it to
prevent future heavier coupling.
2026-02-25 19:43:04 +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
Thaddeus Crews 2adf91e71f Merge pull request #114890 from allenwp/fix-spatial-scaler-debanding
Fix viewport debanding not working with spatial scalers.
2026-02-25 11:25:09 -06:00
Thaddeus Crews e8c69d4108 Merge pull request #116720 from allenwp/fix-reinhard-agx-mobile-subpass
Fix Reinhard and AgX tonemapper in Mobile renderer when using subpass.
2026-02-25 09:27:47 -06:00
Thaddeus Crews c521ed8f71 Merge pull request #116519 from celyk/fix-omni-projector
Clamp uv coordinates of omni light projector
2026-02-25 09:27:38 -06:00