summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-296-136/+128
|
* [Net] Simplify IP resolution code, fix caching.Fabio Alessandrelli2022-01-291-1/+1
| | | | | | | | | | First, we should not insert into cache if the hostname resolution has failed (as it might be a temporary internet issue), second, the async resolver should also properly insert into cache. Took the chance to remove some duplicate code with critical section in it at the cost of little performance when calling the blocking resolve_hostname function.
* Merge pull request #57116 from bruvzg/win_net_shareRémi Verschelde2022-01-281-2/+9
|\
| * [Windows] Add support for handling network share paths.bruvzg2022-01-241-2/+9
| |
* | Merge pull request #54574 from Ansraer/glow_mapRémi Verschelde2022-01-262-2/+2
|\ \ | |/ |/|
| * add support for glow mapsAnsraer2022-01-202-2/+2
| |
* | Merge pull request #54890 from briansemrau/threadsafe-drawpute-listsRémi Verschelde2022-01-221-0/+12
|\ \ | |/ |/| Make draw/compute lists threadsafe
| * Make draw/compute lists threadsafeBrian Semrau2021-11-111-0/+12
| | | | | | | | Lock the rendering device while command buffers are in use
* | Revert "Add new scaling modes for splash screen"Rémi Verschelde2022-01-192-62/+27
| | | | | | | | | | | | | | This reverts commit fcc9f5ce396ff921ed8253f657a8c9c38e7a878d. The feature is good but the implementation still needs more work. A new PR will be made with a rework of this commit.
* | Merge pull request #54489 from briansemrau/texture-delete-updateRémi Verschelde2022-01-191-3/+3
|\ \
| * | Fix materials not updating when texture replaced/deletedBrian Semrau2021-11-011-3/+3
| | |
* | | Add new scaling modes for splash screenSamuel Pedrajas2022-01-182-27/+62
| | | | | | | | | | | | | | | | | | Removes the `fullsize` option which is superseded by `stretch_mode`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | | Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascadesRémi Verschelde2022-01-182-2/+2
|\ \ \
| * | | Allow using between 1 and 8 cascades for SDFGIHugo Locurcio2022-01-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This provides more flexibility between performance and quality adjustments, especially when using SDFGI for small-scale levels (which can be useful for procedurally generated scenes).
* | | | Merge pull request #55020 from bruvzg/vlk_device_surface_checkRémi Verschelde2022-01-172-113/+193
|\ \ \ \
| * | | | [Vulkan] Check each device capabilities before selecting it.bruvzg2021-11-222-113/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split instance and physical device selection function and move device selection to window creation, to reject devices without present capability. Add device preferred type check in discrete > integrated > virtual > cpu > other order. Add device list printout. Add command line argument to override device selection.
* | | | | Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde2022-01-172-4/+4
|\ \ \ \ \
| * | | | | [Windows] Improve console handling and execute/create_process.bruvzg2021-12-182-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
* | | | | | Remove property hints referencing unsupported svgz extensionRémi Verschelde2022-01-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrongly claimed support for it was removed in #49645. See also #56862.
* | | | | | Remove support for PVRTC texture encoding and decodingHugo Locurcio2022-01-143-128/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
* | | | | | Fix various typosluz paz2022-01-132-2/+2
| |_|/ / / |/| | | | | | | | | 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,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
* | | | | Remove mistakenly added author infoclayjohn2022-01-121-3/+0
| | | | |
* | | | | Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde2022-01-121-6/+2
|\ \ \ \ \
| * | | | | Style: Remove inconsistently used `@author` docstringsRémi Verschelde2022-01-041-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.
* | | | | | New OpenGL batching canvas rendererclayjohn2022-01-1136-9222/+1960
| | | | | |
* | | | | | WIP New GLES3 Shader Compilerreduz2022-01-1116-1665/+3463
| | | | | | | | | | | | | | | | | | | | | | | | Uses versions and specializations (more similar to RenderingDevice version)
* | | | | | Fix typos with codespellRémi Verschelde2022-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics
* | | | | | Merge pull request #50493 from timothyqiu/local-vector-list-initRémi Verschelde2022-01-061-4/+4
|\ \ \ \ \ \
| * | | | | | Add list initialization support for Vector & LocalVectorHaoyu Qiu2022-01-051-4/+4
| | | | | | |
* | | | | | | Fix multiple missing UTF-8 decoding.bruvzg2022-01-062-4/+4
|/ / / / / /
* | | | | | Added material_overlay property to MeshInstance3DFernando Cosentino2022-01-052-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying overlay materials into multi-surface meshes currently requires adding a next pass material to all the surfaces, which might be cumbersome when the material is to be applied to a range of different geometries. This also makes it not trivial to use AnimationPlayer to control the material in case of visual effects. The material_override property is not an option as it works replacing the active material for the surfaces, not adding a new pass. This commit adds the material_overlay property to GeometryInstance3D (and therefore MeshInstance3D), having the same reach as material_override (that is, all surfaces) but adding a new material pass on top of the active materials, instead of replacing them.
* | | | | | Merge pull request #55790 from Calinou/renderingserver-add-device-type-getterRémi Verschelde2022-01-046-0/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add `RenderingServer.get_video_adapter_type()` method
| * | | | | | Add `RenderingServer.get_video_adapter_type()` methodHugo Locurcio2021-12-106-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used to distinguish between integrated, dedicated, virtual and software-emulated GPUs. This in turn can be used to automatically adjust graphics settings, or warn users about features that may run slowly on their hardware.
* | | | | | | Merge pull request #56305 from Calinou/rename-lod-thresholdRémi Verschelde2022-01-044-6/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Rename Lod Threshold to Mesh Lod ThresholdHugo Locurcio2021-12-294-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
* | | | | | | Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde2022-01-044-4/+12
|\ \ \ \ \ \ \
| * | | | | | | Added SSIL post processing effectclayjohn2021-11-064-4/+12
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Update copyright statements to 2022Rémi Verschelde2022-01-0367-134/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Happy new year to the wonderful Godot community!
* | | | | | | Fix various typosluz paz2022-01-022-2/+2
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | drivers/vulkan: limit pEngineName to only the engine name, without its versionEric Engestrom2021-12-241-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :)
* | | | | | drivers/vulkan: set the engineVersion to Godot's versionEric Engestrom2021-12-231-1/+1
| |_|/ / / |/| | | |
* | | | | Add / to the unix shortcut drive listHaoyu Qiu2021-12-152-0/+17
| | | | | | | | | | | | | | | | | | | | Also made `get_current_drive()` to pick the longest match on Unix.
* | | | | Rename `hint_aniso` to `hint_anisotropy` in the shader languageHugo Locurcio2021-12-101-1/+1
| |/ / / |/| | | | | | | | | | | | | | | The word "anisotropy" is used in full form in BaseMaterial3D's anisotropy-related properties.
* | | | Merge pull request #55704 from RandomShaper/fix_little_vk_mistakeRémi Verschelde2021-12-101-1/+1
|\ \ \ \
| * | | | Fix misuse of Vulkan enum valuePedro J. Estébanez2021-12-071-1/+1
| | | | |
* | | | | Merge pull request #55572 from aaronfranke/ci-doubleRémi Verschelde2021-12-101-29/+29
|\ \ \ \ \
| * | | | | Add a double-precision editor build to CIAaron Franke2021-12-091-29/+29
| | | | | |
* | | | | | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-097-13/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* / / / / Make `compile` shader function to use struct instead long parameter listYuri Roubinsky2021-12-081-1/+7
|/ / / /
* | | | Only print message for `get_modified_time()` failure when in verbose modeHugo Locurcio2021-12-012-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.