summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2023-01-29Merge pull request #72291 from clayjohn/GL-item-capRémi Verschelde
Remove cap on number of items drawn in frame in 2D gl_compatibility renderer
2023-01-28Remove cap on number of items drawn in frame in 2D gl_compatibility renderclayjohn
Also clean up some names to make the overall organization more clear Also remove cap on items per batch
2023-01-27Automatically transform Skeleton2D calculations so pivots are not neededclayjohn
2023-01-27Merge pull request #72168 from RandomShaper/sensible_lock_returnRémi Verschelde
Booleanize various sync primitives' wait & locking methods
2023-01-27Booleanize various sync primitives' wait & locking methodsPedro J. Estébanez
2023-01-26Merge pull request #71581 from clayjohn/dependency-changedRémi Verschelde
Flag dirty dependencies when GeometryInstance dependencies change in renderer
2023-01-26Merge pull request #72138 from clayjohn/GL-globalsRémi Verschelde
Properly append global uniform buffer name in gl_compatibility shaders
2023-01-26Properly append global uniform buffer name in gl_compatibility shadersclayjohn
Also error when using instance uniforms
2023-01-26Fix LCD font AA on OpenGL renderer.bruvzg
2023-01-26Merge pull request #71455 from BastiaanOlij/fix_stereo_screen_depthRémi Verschelde
Make screen texture and depth texture work in Multiview
2023-01-25Make screen texture and depth texture work in MultiviewBastiaan Olij
2023-01-24Merge pull request #71832 from Geometror/fix-spotlight-artifactsRémi Verschelde
Fix some `SpotLight3D` issues (clustering artifacts, leaking light, AABB)
2023-01-24Fix some SpotLight3D issues (clustering artifacts, light leak)Hendrik Brucker
2023-01-23Add a few more checks to ensure that unsupported image formats are not used ↵clayjohn
in the mobile renderer
2023-01-23Merge pull request #71910 from jainl28patel/fix_ReflectionProbe_renderingRémi Verschelde
fix ReflectionProbe rendering extents for (10,10,10)
2023-01-23Merge pull request #70429 from BastiaanOlij/check_more_vulkan_extensionsRémi Verschelde
Enabling additional vulkan extension and adding further checks
2023-01-24fix ReflectionProbe rendering extents for (10,10,10)jainl28patel
2023-01-23[Linux/BSD] Include headers for dynamically loaded libraries to simplify ↵bruvzg
build dependencies.
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22[iOS] Restore OpenGLES3 renderer support.bruvzg
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #71220 from reduz/prevent-opening-windows-console-filesRémi Verschelde
Prevent opening Windows console files
2023-01-21Merge pull request #71776 from clayjohn/PointLight2D-indicesRémi Verschelde
Stop incrementing light_count once max number of lights are reached in 2D canvas renderer
2023-01-20Stop incrementing light_count once max number of lights are reached in 2D ↵clayjohn
canvas renderer
2023-01-21Merge pull request #71772 from clayjohn/GLES3-liRémi Verschelde
Assign light indices after sorting in OpenGL renderer
2023-01-20Assign light indices after sorting in OpenGL rendererclayjohn
This ensures that the light indices sent to the shader actually match where the light is saved
2023-01-20Sort decals and lights based on camera originclayjohn
Also implement sort_offset for decals Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-18Merge pull request #71514 from akien-mga/os-unset_environmentRémi Verschelde
OS: Add `unset_environment`, better validate input
2023-01-17Flag dirty dependencies when GeometryInstance dependencies change in rendererclayjohn
Normally dependencies are only set dirty when changed during culling, but that misses changes that happen in the renderer (like a new shader being set in a material)
2023-01-17Decompress RA_AS_RG formats on Web platform in GLES3 renderer and disable ↵clayjohn
texture swizzling While using compressed formats is allowed, the RA_AS_RG formats need texture swizzling which is not available on web
2023-01-17GLES3: Fix canvas shader use of undefined draw_dataRémi Verschelde
Fixes #71551.
2023-01-17Merge pull request #71382 from jainl28patel/sprite2d_flip_normal_mapRémi Verschelde
fix normal map not flipping in sprite2D
2023-01-16Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checksRémi Verschelde
2023-01-16OS: Add `unset_environment`, better validate inputRémi Verschelde
Instead of returning an undocumented boolean error code, we do the validation checks that should ensure a successful result. Based on: - https://linux.die.net/man/3/setenv - https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-15Enabling additional vulkan extension and adding further checksBastiaan Olij
2023-01-14Merge pull request #71309 from BastiaanOlij/improve_renderscaling_optionsRémi Verschelde
Improving communication of scaling settings to renderer implementation
2023-01-14fix normal map not flipping in sprite2Djainl28patel
2023-01-13Clear material arrays to prevent freeing of invalid texture RIDYuri Rubinsky
2023-01-13Improving communication of scaling settings to renderer implementationBastiaan Olij
2023-01-12Merge pull request #71248 from rsjtdrjgfuzkfg/opengl-texture-formatRémi Verschelde
OpenGL: Support FORMAT_{ETC2,DXT5}_RA_AS_RG
2023-01-12Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde
Improve documentation for `OS.read_string_from_stdin()`
2023-01-11OpenGL: Support FORMAT_{ETC2,DXT5}_RA_AS_RGrsjtdrjgfuzkfg
This commit adds support for FORMAT_EXT2_RA_AS_RG and FORMAT_DXT5_RA_AS_RG with OpenGL, fixing VRAM compression with the normal map option enabled.
2023-01-11Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio
This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
2023-01-11Prevent opening Windows console filesJuan Linietsky
Fixes #20110.
2023-01-09Make inclusion of Godot version in shader hash universalPedro J. Estébanez
2023-01-06Properly map shader language texture hints to sampler hints in GLES3 rendererclayjohn
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Ignore depth draw optimization when using depth draw alpha prepassclayjohn
This is necessary as the scene shader still uses alpha in this case so we can't discard fragments that weren't written to the depth buffer
2022-12-23Merge pull request #70253 from BastiaanOlij/cleanup_sky_renderRémi Verschelde
Cleanup and improve sky render