Thaddeus Crews
3bfa50fd32
Merge pull request #117805 from BenLubar/gl-compatibility-drawable-texture
...
Fix `convert_to_srgb` uniform being set as the wrong data type.
2026-05-20 14:33:23 -05:00
Ben Lubar
d55190dfde
Fix convert_to_srgb uniform being set as the wrong data type.
2026-05-19 14:48:58 -05:00
Thaddeus Crews
04e3d906f9
Merge pull request #114957 from LucaTuerk/fix_compat_backbuffer_allocation
...
Remove Compatibility RenderTarget backbuffer size limit
2026-04-23 08:34:56 -05:00
BlueCube3310
7ba643bdcf
Properly set drawable_type property in RenderingServer's DrawableTexture
2026-04-06 13:11:49 +02:00
Rémi Verschelde
7795057e4b
Misc includes or modernize fixes found via clangd-tidy
2026-03-16 21:38:26 +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
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
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
Rémi Verschelde
cd650f2336
GLES3: Move some static utils to new RasterizerUtilGLES3
...
This helps remove dependencies on RasterizerGLES3 in many files, which is
useful as RasterizerGLES3 basically includes everything, so it brings a lot
of transient includes.
2026-02-20 11:29:39 +01:00
Rémi Verschelde
715748bab4
GLES3: Tidy up includes for consistency
2026-02-20 11:20:44 +01:00
Lukas Tenbrink
0ea5ece984
Move binary math functions to Math namespace in math_funcs_binary header.
2026-02-17 12:24:35 +01:00
Thaddeus Crews
fbbb8a921b
Merge pull request #115309 from Ivorforce/localvector-explicit-copy
...
Change copy constructor of `LocalVector` from implicit to explicit
2026-01-30 09:32:07 -06: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
Lukas Tenbrink
63272b23ef
Make LocalVector copy constructor explicit.
2026-01-23 20:52:03 +01:00
Luca
7ce460f243
Fix Compatibility Render RenderTarget back buffer allocation 41x41 size limit
2026-01-14 20:08:18 +01:00
David Snopek
ca0eb5da24
OpenXR: Fix resizing viewports used by OpenXRCompositionLayer
2025-10-30 17:40:52 -05:00
Kaleb Reid
e1f19d14dd
Always use RenderSceneBuffers to manage backbuffer in Compatibility 3D
2025-10-04 01:06:09 -07:00
Thaddeus Crews
d9ba9ba3da
Merge pull request #97151 from devloglogan/motion-vectors
...
Implement motion vectors in compatibility renderer
2025-10-03 12:01:10 -05:00
BlueCube3310
d07a72e067
Compatibility: Explicitly use BC1's RGB variant
2025-09-30 20:17:22 +02:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
...
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
devloglogan
8fef9a689e
Implement motion vectors in compatibility renderer
2025-09-30 09:42:17 -05:00
Thaddeus Crews
cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
...
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
Thaddeus Crews
747722d639
Merge pull request #109299 from BlueCube3310/compat-cube-fix
...
Compatibility: Fix cubemap faces order when setting texture data
2025-09-19 09:17:07 -05:00
Lukas Tenbrink
abe3b481ae
Make conversions from LocalVector to Vector explicit.
2025-09-16 21:41:28 +02:00
Thaddeus Crews
853884ba05
Merge pull request #109143 from sievaxx/more_sampler_default_texs
...
Add and enable default textures for other samplers
2025-09-16 11:44:51 -05:00
Bastiaan Olij
a38256c19e
OpenXR: Fix ViewportTextures not displaying correct texture (Compatibility)
2025-08-27 13:02:39 +10:00
BlueCube3310
356b1ab2a6
Compatibility: Fix cubemap faces order when setting texture data
2025-08-04 13:27:28 +02:00
Riley Willows
fbe2710843
Add and enable default textures for other samplers
2025-07-31 00:08:43 +01:00
David Snopek
ae61044c85
Don't use GL_DEPTH_STENCIL_ATTACHMENT on depth buffer from WebXR
2025-07-24 14:11:36 -05:00
BlueCube3310
16b9ee6f50
Image: Implement 16-bit unorm and uint formats
2025-06-28 00:30:52 +02:00
Apples
d674c9e289
Add stencil support for spatial materials
2025-06-11 09:59:10 -05:00
Ryan
4497e2a0d3
Add Meshes to the Video RAM Profiler
...
Apply suggestions from code review
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro >
2025-04-23 18:26:56 -04:00
Yyf2333
1a70a06a43
Change RID_Owner::get_owned_list.
2025-04-21 01:04:27 +08:00
BlueCube3310
a861394e13
Renderer: Warn when images need to be converted due to their formats being unsupported by hardware
2025-04-06 19:27:02 +02:00
Yyf2333
22b5ec17fb
Using iterator pattern instead of List::Element *.
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com >
2025-03-28 13:29:15 +08:00
Adam Scott
60913170c6
Add check for float texture linear filtering support
...
Co-authored-by: Clay John <claynjohn@gmail.com >
2025-01-27 22:12:08 -05:00
BlueCube3310
2221f6ed13
WebGL2: Fix 2D array textures with RGTC compression not rendering
2025-01-22 20:41:20 +01:00
Rémi Verschelde
89f233aca3
Merge pull request #101217 from BlueCube3310/gl-uncomp-formats
...
Compatibility: Improve gl texture format detection
2025-01-12 18:07:12 +01:00
Rémi Verschelde
d83598e9b9
Merge pull request #100778 from BlueCube3310/compat-get-texture-silence
...
Compatibility: Avoid converting to compressed formats when retrieving image data
2025-01-11 22:29:44 +01:00
Rémi Verschelde
3014eec40d
Merge pull request #99407 from devloglogan/rec-resolution
...
Allow using custom `Rect2i` for rendering with OpenXR
2025-01-10 23:05:46 +01:00
devloglogan
e7f6b7ea0b
Allow using custom Rect2i for rendering with OpenXR
2025-01-09 09:46:15 -06:00
BlueCube3310
6a2cc39926
Compatibility: Improve gl texture format detection
2025-01-07 12:20:04 +01:00
BlueCube3310
636a132e45
Compatibility: Avoid converting to compressed formats when retrieving image data
2024-12-23 23:16:46 +01:00
Thaddeus Crews
3c304ab7cc
Merge pull request #96076 from AThousandShips/improve_null_check_core_drivers
...
[Core,Drivers] Improve use of `Ref.is_null/valid`
2024-12-23 11:14:58 -06:00
Thaddeus Crews
9ecdeb3723
Merge pull request #98747 from tetrapod00/standardize-renderer-strings
...
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
Thaddeus Crews
bfc66f0608
Merge pull request #100282 from devloglogan/motion-vectors-openxr
...
Add renderer motion vectors API for use with OpenXR
2024-12-12 16:13:36 -06:00
devloglogan
3deb5884d7
Renderer agnostic motion vector rendering/OpenXR changes
2024-12-10 15:59:17 -06:00
Chris
fb75078308
Changed some image error messages to print the file path
2024-11-15 20:42:03 +01:00
tetrapod00
899f5151c3
Standardize terms for renderers in error strings
...
Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
2024-11-10 13:30:44 -08:00
A Thousand Ships
ec650a2f09
[Core,Drivers] Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-11-01 16:50:11 +01:00