luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Eric Engestrom
83333f7e15
drivers/vulkan: limit pEngineName to only the engine name, without its version
...
It's supposed to be something stable that can be used to identify the engine
(using an equality check), so having the version number in there defeats
the purpose.
While at it, there is no need to prefix it with a second `"GodotEngine"`, nor
to copy the static C string into a C++ string to then extract a C string
from it :)
2021-12-24 01:24:22 +00:00
Eric Engestrom
961bf6e30f
drivers/vulkan: set the engineVersion to Godot's version
2021-12-23 18:10:22 +00:00
Haoyu Qiu
67f04b381b
Add / to the unix shortcut drive list
...
Also made `get_current_drive()` to pick the longest match on Unix.
2021-12-15 21:13:35 +08:00
Hugo Locurcio
92e9cca5be
Rename hint_aniso
to hint_anisotropy
in the shader language
...
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Rémi Verschelde
daccf48929
Merge pull request #55704 from RandomShaper/fix_little_vk_mistake
2021-12-10 10:03:10 +01:00
Rémi Verschelde
f455660e93
Merge pull request #55572 from aaronfranke/ci-double
2021-12-10 10:02:38 +01:00
Aaron Franke
e9808e3d9a
Add a double-precision editor build to CI
2021-12-09 09:52:48 -06:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Yuri Roubinsky
76f6c0849c
Make compile
shader function to use struct instead long parameter list
2021-12-08 11:34:40 +03:00
Pedro J. Estébanez
76f262f241
Fix misuse of Vulkan enum value
2021-12-07 19:34:18 +01:00
Hugo Locurcio
5acb8a253e
Only print message for get_modified_time()
failure when in verbose mode
...
This error message was often displayed for no good reason when PCK
files were loaded in the editor.
Since file modification dates are secondary metadata, it's not
very important if it can't be retrieved successfully anyway.
2021-12-01 21:47:09 +01:00
Yuri Roubinsky
5ba93619fa
Allow using empty statements in the shader, added formatting warning
2021-12-01 11:52:25 +03:00
Yuri Roubinsky
a4b7de6b23
Fix console colors on Windows
2021-11-26 13:10:55 +03:00
Je06jm
20deb0917d
Implemented AMD's FSR as a computer shader for upscaling 3D scenes
2021-11-23 14:16:03 -07:00
Fabio Alessandrelli
46fdba5f8b
[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.
...
Note, the editor build requires the mbedtls module to be manually
enabled, as it is currently needed as a ResourceUID dependency.
This will need to be addressed in a separate PR.
2021-11-19 16:59:27 +01:00
Yuri Roubinsky
f4c0e90fd9
Allow passing non-variable constant to const function param in shaders
2021-11-19 12:14:13 +03:00
kobewi
f6d16d55c6
Fix data directory of unnamed projects
2021-11-18 12:31:29 +01:00
Rémi Verschelde
c2ac3db039
Merge pull request #54880 from benjarmstrong/wasapi_input_fix
2021-11-16 08:22:09 +01:00
Benjamin Armstrong
21e244773b
Fix crash in audio callback when recording audio
2021-11-16 10:41:30 +11:00
Yuri Roubinsky
826e781bfa
Fix default_texture_param in shader pipeline to support uniform arrays
2021-11-12 12:53:40 +03:00
Rémi Verschelde
b727061ce0
Windows: Fix compilation warnings with GCC 11.2.1
2021-11-10 15:13:05 +01:00
Hugo Locurcio
de912a8bd9
Print the number of PulseAudio input channels when in verbose mode
...
This is useful information to have for troubleshooting, and it's
said to sidestep a possible race condition issue that breaks
microphone recording on Linux.
2021-11-09 00:44:11 +01:00
Nathan Franke
72d8aac3a1
Use application name for pulseaudio device
2021-11-06 18:23:33 -05:00
Rémi Verschelde
26c03bcccd
Merge pull request #54404 from ibrahn/pulsedriver-less-cowref
2021-11-01 17:55:43 +01:00
Haoyu Qiu
10818cfc10
Fix memory leak when using CurveTexture.set_texture_mode
2021-11-01 18:57:59 +08:00
Rémi Verschelde
16dc607f8a
Merge pull request #54307 from Calinou/add-opengl-renderer-squash
...
Add OpenGL renderer (squashed)
2021-10-31 18:30:38 +01:00
Clay John
8a10bb7d0d
Use OpenGL 3.3 core profile instead of compatibility profile
...
- Rename OpenGL to GLES3 in the source code per community feedback.
- The renderer is still exposed as "OpenGL 3" to the user.
- Hide renderer selection dropdown until OpenGL support is more mature.
- The renderer can still be changed in the Project Settings or using
the `--rendering-driver opengl` command line argument.
- Remove commented out exporter code.
- Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-31 15:56:45 +01:00
Brian Semrau
346e497959
Disallow compute dispatch with zero dimensions.
2021-10-30 02:39:25 -04:00
Hugo Locurcio
ce97ddbcb1
Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3
...
- Use lowercase driver names for the `--rendering-driver`
command line argument.
2021-10-30 02:05:49 +02:00
lawnjelly
e3491a3744
Add GLES2 2D renderer + Linux display manager
...
First implementation with Linux display manager.
- Add single-threaded mode for EditorResourcePreview (needed for OpenGL).
Co-authored-by: clayjohn <claynjohn@gmail.com>
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-30 02:05:48 +02:00
Ibrahn Sahir
47496a55bc
AudioDriverPulseAudio: move Vector Cow access outside tight loop.
...
Replaced some in-loop uses of Vector.write with an out of loop ptrw,
to avoid a lot of superfluous reads on the CowData ref count.
2021-10-29 23:36:18 +01:00
Max Hilbrunner
82f88f5d56
Merge pull request #54340 from aaronfranke/time-doc
...
Update and fix Time documentation
2021-10-29 15:49:22 +02:00
clayjohn
1b2cd9f251
Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
...
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28 22:02:23 -07:00
Aaron Franke
2dabdda36a
Update Time documentation
2021-10-28 10:16:56 -05:00
Rémi Verschelde
3a6be64c12
clang-format: Various fixes to comments alignment from clang-format
13
...
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 15:43:36 +02:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
Max Hilbrunner
5dc02eb8b0
Save all 64 bits of get_ticks_msec() in more cases
2021-10-26 13:58:58 +02:00
Rémi Verschelde
da98357e6e
doctool: Fix differences between headless and Vulkan rendering backends
...
Fixes #53913 .
2021-10-20 17:48:50 +02:00
Gilles Roudière
0587e5e018
Implement toast notifications in the editor
2021-10-14 13:30:54 +02:00
Rémi Verschelde
88463c3eee
Merge pull request #53712 from CakHuri/nullptr
...
Replace NULL with nullptr
2021-10-12 22:30:43 +02:00
Hugo Locurcio
b1b14e5fd7
Build for 64-bit ARM by default when compiling or exporting for Android
...
All Android devices that support Vulkan support 64-bit ARM.
This also removes NEON opt-out code for ARMv7 as pretty much all
ARMv7 devices also support NEON.
2021-10-12 16:35:49 +02:00
M. Huri
033dc4dbef
Replaced NULL with nullptr
2021-10-12 20:20:19 +07:00
Rémi Verschelde
0e9d5a41d2
Merge pull request #53408 from EIRTeam/fix_wasapi_output_latency
2021-10-06 16:35:35 +02:00
Álex Román Núñez
fd4fa10d8b
Make WASAPI return accurate latency information
2021-10-06 12:28:12 +02:00
Rémi Verschelde
b1c6826b9f
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
2021-10-05 12:03:05 +02:00
Rémi Verschelde
d97f223350
Merge pull request #43068 from cooperra/rename-fix
2021-10-02 21:04:13 +02:00
Frixuu
9cc5e1f94c
Initialize AudioClientProperties
2021-10-01 21:44:26 +02:00
Lightning_A
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
Hugo Locurcio
ba65730cbf
Rename RID's getornull()
to get_or_null()
2021-09-29 23:58:02 +02:00