Age | Commit message (Collapse) | Author |
|
Make some Image methods static
|
|
Fix drawing of 2D primitives in OpenGL3 renderer
|
|
Previously the wrong vertices were used when assembling the second triangle
of a quad
|
|
objects not drawing in the GLES3 backend.
Issue came from not binding a light UBO when using the DISABLE_LIGHTING
code path
|
|
|
|
|
|
Add 2D lights to OpenGL3 canvas renderer
|
|
Use radial distance for making LOD decisions.
|
|
This is an initial implementation using the same single-pass approach as the RenderingDevice.
|
|
Previously, only forward basis distance from the camera was used.
This means that unnecessarily high LOD levels were used for objects located to the side of the camera.
The distance from the camera origin is now used, independently of direction.
|
|
Added fallback to vkCreateRenderPass
|
|
VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME isn't supported
|
|
Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`
|
|
Rename remaining "*_enable" to "*_enabled"
|
|
Fetch video adapter driver name and version from OS
|
|
|
|
|
|
Polish rendering driver refactor further
|
|
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
|
|
- Outright disable spammy warnings due to past or present GCC bugs:
* `-Wno-strict-overflow` for GCC 7.
* `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in
earlier releases but at this stage we don't care).
* `-Wno-return-type` for GCC 12/13 (regression, still not fixed).
- Enable extra warnings conditionally when broken on earlier GCC:
* `-Wnoexcept` was removed due to an upstream regression in GCC 9, could
be re-enabled (but commented out for now as we actually have `-Wnoexcept`
warnings to fix.
* `-Wlogical-op` was broken on our variadic templates before GCC 11, now
seems fine.
|
|
|
|
This avoids an issue where having multiple CanvasGroups overlap
would create a weird artifact
|
|
change warnings=all to use /W4.
|
|
Mainly:
- Make `max_descriptors_per_pool` project setting Vulkan-specific.
- Use a common, render driver agnostic magic FourCC for shader binary data.
- Downgrade spirv_reflect to Vulkan-only dependency.
- Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.
|
|
This removes the countless small UBO writes we had before
and replaces them with a single large write per render pass.
This results in much faster rendering on low-end devices
but improves speed on all devices.
|
|
[Windows] Fix LLVM MinGW build.
|
|
Improve default `OS`'s CPU count getter
|
|
|
|
|
|
Remove usage of unitialized variables
|
|
Enhance portability of threading
|
|
Rename Projection `matrix` to `columns`
|
|
|
|
|
|
End users would get spammed with messages of varying verbosity due to the
mess that thirdparty layers/extensions and drivers seem to leave in their
wake, making the Windows registry a bottomless pit of broken layer JSON.
I'm all for helping end users clean up mess in their registry / system paths
for Vulkan ICDs, layers and extensions, but the way this is done by
VK_EXT_debug_utils is just horrible - and the way for them to fix it (manual
edit of system files) is also not a good thing to recommend.
Closes countless issues where users think Godot is broken because it reports
weird errors.
|
|
|
|
Move cluster builder, sdfgi and gi structures to clustered renderer, and more
|
|
Properly expose TEXTURE_PIXEL_SIZE in Opengl3 renderer
|
|
akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS
Unix: Remove now unnecessary I/O defines, cleanup
|
|
|
|
light and probe elements into storage and reorganise our render_scene method.
|
|
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_.
- `NO_NETWORK` is also never defined. It probably isn't enough anyway to
disable network APIs in the current codebase.
- `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some
other platforms, clarify that.
- `NO_STATVFS` can be removed as Android supports it since API level 19,
which is our current min SDK level. It's also only used for
`DirAccessUnix::get_space_left()` which is anyway overridden by
`DirAccessJAndroid::get_space_left()` so it shouldn't make a difference.
* Fixed documentation for `DirAccess.get_space_left()`.
- `NO_FCNTL` is likely also a remnant of early Android days, in current NDK
r23 it seems to be available. Also cleaned up unused `fcntl.h` includes.
- `NO_ALLOCA` is never defined, and we use alloca in many places now.
|
|
This also removes `OS::can_use_threads` from the public API since it's always
true.
|
|
|
|
Remove ERR_FAIL_COND that never happens in _draw_sky
|
|
Using codespell 2.3-dev from current git.
And fix typo in `methods.py` for `vsproj=yes` option (still won't work
though).
|
|
In the conditional `sky` is always true.
|
|
Add various null checks in RenderingServer
|
|
Fix typos - "collison" -> "collision"
|
|
|