summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2023-01-31Merge pull request #72433 from clayjohn/Pointlight2D-crashRémi Verschelde
Avoid crash when CanvasTexture used with light decal atlas
2023-01-30Avoid crash when CanvasTexture used with light decal atlasclayjohn
The decal atlas is used for Light2Ds, decals, and Light3Ds
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30[X11] Add support for dead keys without active IME. Fix IME focus and cleanup.bruvzg
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