Ibrahn Sahir
151d2e34ca
ThreadWorkPool no longer starts worker threads if given zero work.
2021-11-01 19:19:25 +00:00
Rémi Verschelde
1aef3a42b2
Merge pull request #54448 from CakHuri/treshold-to-threshold
...
Repair mistyped of 'threshold' on several files.
2021-10-31 18:32:18 +01: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
M. Huri
4052d85d05
Repaired mistyped of 'threshold' on several files.
2021-10-31 22:11:42 +07: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
Rémi Verschelde
d6f972fad4
Merge pull request #54403 from briansemrau/fix-small-fogvolume
...
FogVolume don't dispatch compute with zero-dimension groups
2021-10-31 09:12:10 +01:00
Rémi Verschelde
2074647ab9
Merge pull request #54423 from raulsntos/csharp-exports-ii
...
Ensure C# script properties are added to the end
2021-10-31 09:10:33 +01:00
Yuri Roubinsky
727c51f35d
Merge pull request #54427 from briansemrau/fix-material-preview-update
2021-10-30 22:07:51 +03:00
Brian Semrau
8f75ad4df2
Don't use Texture image caches if they are rendered to
2021-10-30 13:34:39 -04:00
Raul Santos
2913c32db5
Ensure C# script properties are added to the end
...
Ensures that the `get_property_list` and `get_script_property_list`
methods push the script properties to the end of the given list, this
prevents the script property from appearing after the script variables.
2021-10-30 17:11:40 +02:00
Rémi Verschelde
6b0b1a4c04
Merge pull request #54405 from JFonS/fix_instance_index
...
Fix instance index in forward clustered shader
2021-10-30 14:22:22 +02:00
Yuri Roubinsky
78f86ff515
Merge pull request #54401 from Chaosus/fix_fog_error
2021-10-30 09:45:48 +03:00
Brian Semrau
346e497959
Disallow compute dispatch with zero dimensions.
2021-10-30 02:39:25 -04:00
Rémi Verschelde
292f63e676
Merge pull request #54383 from Calinou/colorpicker-overbright-indicator-tweak-icon
...
Tweak overbright indicator icon to be more visible on white background
2021-10-30 08:33:27 +02:00
jfons
6db13d3231
Fix instance index in forward clustered shader
2021-10-30 02:53:09 +02: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
Yuri Roubinsky
4da0de0085
Fix error spammed to output if FogVolume
is setted to scene
2021-10-29 23:24:01 +03:00
Max Hilbrunner
d046817536
Merge pull request #54390 from Anutrix/collide-shape-doc
...
Added collide_shape return type info to PhysicsDirectSpaceState2D docs
2021-10-29 18:02:46 +02:00
Yuri Roubinsky
bc171971dd
Merge pull request #53234 from Geometror/gradient-texture-2d
2021-10-29 18:59:40 +03:00
Yuri Roubinsky
f6084f38c3
Merge pull request #54388 from Chaosus/fix_orm_conversion
2021-10-29 18:59:12 +03:00
Yuri Roubinsky
23603e4892
Merge pull request #54382 from Chaosus/vs_fog
2021-10-29 18:32:38 +03:00
Ignacio Roldán Etcheverry
7d99ccda1d
Merge pull request #54361 from raulsntos/csharp-call-able-callable
...
Implement Call methods in C# Callable
2021-10-29 17:27:04 +02:00
Anutrix
5f69a29143
Added collide_shape return type info to PhysicsDirectSpaceState2D docs
2021-10-29 20:44:57 +05:30
Yuri Roubinsky
7528c204d3
Added convertor from ORMMaterial3D
to ShaderMaterial
2021-10-29 17:49:24 +03:00
Hugo Locurcio
d8c21e7405
Tweak overbright indicator icon to be more visible on white background
...
An outline is now present on all sides to ensure it's more visible
when the "new" color (on the right of a ColorPicker) is overbright.
2021-10-29 16:13:50 +02:00
Fabio Alessandrelli
dae626ad64
Merge pull request #54344 from mhilbrunner/rpc-error-msgs
...
Websockets: Fix buffer size checks in put_packet(), silent failures/connection hangs
2021-10-29 16:12:34 +02:00
Yuri Roubinsky
2d0aa5ebc4
Repair Fog mode in visual shaders
2021-10-29 17:09:03 +03: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
Rémi Verschelde
b71270e6ea
Merge pull request #54376 from Chaosus/fix_converted_fogmaterial_crash
2021-10-29 15:43:36 +02:00
Max Hilbrunner
38126690c7
Websockets: Fix buffer size checks in put_packet()
...
Also check the error return value of wslay_event_queue_msg()
2021-10-29 15:35:57 +02:00
Rémi Verschelde
07cad91722
Merge pull request #54374 from Chaosus/fix_fogvolume_crash
...
Fix crashing of `FogVolume`s when `WorldEnvironment` was added
2021-10-29 14:09:47 +02:00
Yuri Roubinsky
e058cf93bd
Fix crashing of FogVolume
s when WorldEnvironment
was added
2021-10-29 14:25:49 +03:00
Max Hilbrunner
343414cba5
Merge pull request #54328 from YeldhamDev/tabbar_close_signal_rename
...
Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`
2021-10-29 13:21:09 +02:00
Yuri Roubinsky
a6ddfecc9f
Fix crash when opening a converted FogMaterial
2021-10-29 14:18:38 +03:00
Rémi Verschelde
75baf16bab
Merge pull request #53353 from clayjohn/VULKAN-fog-volumes
...
FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
2021-10-29 10:29:04 +02:00
Rémi Verschelde
0dc809cd01
Merge pull request #54367 from lyuma/viewport_off_by_one
...
Fix off by one in Viewport.render_target_update_mode property enum
2021-10-29 07:54:52 +02:00
Rémi Verschelde
ddecaf5451
Merge pull request #54366 from lyuma/audio_stream_player_finished_signal
...
Fix crash due to reentrancy in AudioStreamPlayer* finished signal.
2021-10-29 07:53:59 +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
Rémi Verschelde
9307808987
Merge pull request #54364 from skimmedsquare/osx-coverage
...
Adds support for 'use_coverage' flag in OSX.
2021-10-29 06:57:44 +02:00
Lyuma
c088a2dd89
Fix crash due to reentrancy in AudioStreamPlayer* finished signal.
...
This crash occurred when an audio stream finished playing in NOTIFICATION_INTERNAL_PROCESS,
during which it would iterate through a loop of playbacks,
leading to a "finished" signal, which removed the audio player from the tree
which led to a NOTIFICATION_EXIT_TREE,
which would mutate the array of playbacks while within the above loop.
This moves the signal callback outside of the loop which avoids the crash.
Note: previously, the signal was called multiple times if the same player finishes multiple times in one frame. Now it is at most once per frame.
Affects AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2021-10-28 19:45:29 -07:00
Lyuma
97a4ae9e0f
Fix off by one in Viewport.render_target_update_mode property enum
2021-10-28 19:42:31 -07:00
Sean Kim
753836c373
Adds support for 'use_coverage' flag in OSX.
...
Based on #36572 which added support for Linux
2021-10-28 15:23:23 -07:00
Rémi Verschelde
d3547be9ae
Merge pull request #54359 from KoBeWi/tween_bugged()
2021-10-29 00:02:47 +02:00
Raul Santos
21afb63485
Implement Call methods in C# Callable
...
Implements Callable.Call and Callable.CallDeferred methods in C#
2021-10-28 22:49:17 +02:00
kobewi
3ed20a2f5d
Fix parallel Tweens not ending correctly
2021-10-28 21:04:22 +02:00
Rémi Verschelde
9fb9b99cab
Merge pull request #42117 from nekomatata/x11-get-window-screen
...
Fix window_get_current_screen for X11 display server
2021-10-28 20:57:24 +02:00
PouleyKetchoupp
b34480b645
Fix window_get_current_screen for X11 display server
...
This method used to check which screen contains the top-left corner of
the window (and default to the first screen in case none is found),
which is not accurate in some cases.
Now the area of overlap with each screen is calculated, so we can get
the best candidate based on the window's position.
This makes window_get_current_screen consistent with Windows platform,
and fixes an issue where popups appear on the main screen when the main
window is slightly moved outside of the desktop on the top or left.
2021-10-28 10:26:05 -07:00
Michael Alexsander
4c563a51c3
Rename TabBar
's tab_closed
signal to tab_close_pressed
2021-10-28 13:10:44 -03:00
Rémi Verschelde
e7e9e663b5
Merge pull request #54354 from akien-mga/ci-clang-format-13
2021-10-28 17:24:49 +02:00