virtualx-engine/servers
Juan Linietsky c7fb6cea3d Add ability to call code on rendering thread
As more users use compute in Godot 4, the way they do is most likely incompatible when running
on separate threads and will start erroring soon as we improve the thread safety of the render thread.

To properly run code on the render thread, this function was added. Use like this:

```GDScript

func initialize_compute_code():
	....

func update_compute_code(custom_data):
	...

func _ready():
	RenderingServer.call_on_render_thread( initialize_compute_code )

func _process():
	RenderingServer.call_on_render_thread( update_compute_code.bind(with_data) )

```
2023-07-26 12:28:00 +02:00
..
audio Fix AudioEffectRecord circular reference 2023-06-19 18:13:01 -04:00
camera One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
debugger Fix deserializing resource usage debug data 2023-04-07 17:00:38 +02:00
extensions Merge pull request #76051 from rburing/contact_local_velocity_2d 2023-04-17 20:14:00 +02:00
movie_writer Print CPU and GPU usage statistics after Movie Maker is finished 2023-05-08 12:02:52 -04:00
navigation Allow compiling out the navigation module 2023-02-09 23:04:16 -08:00
physics_2d Merge pull request #76138 from rburing/ccd_against_moving 2023-06-19 22:34:16 +02:00
physics_3d Merge pull request #76138 from rburing/ccd_against_moving 2023-06-19 22:34:16 +02:00
rendering Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
text [TextServer] Add support for retrieving OpenType name strings. 2023-05-22 18:08:34 +03:00
xr Add a get_system_info method to XRInterface 2023-03-15 13:11:48 +11:00
audio_server.cpp Fix crash caused by invalid mix_rate assignment due to bogus 2023-04-25 23:52:50 -07:00
audio_server.h Fix crash caused by invalid mix_rate assignment due to bogus 2023-04-25 23:52:50 -07:00
camera_server.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
display_server.cpp [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
display_server.h [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
display_server_headless.h [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
navigation_server_2d.cpp Add agent pause mode to NavigationServer 2023-06-18 12:37:03 +02:00
navigation_server_2d.h Add agent pause mode to NavigationServer 2023-06-18 12:37:03 +02:00
navigation_server_3d.cpp Merge pull request #78365 from smix8/ps_navmap_default_up_4.x 2023-07-25 21:25:50 +02:00
navigation_server_3d.h Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated 2023-07-07 02:30:14 +02:00
navigation_server_3d_dummy.h Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated 2023-07-07 02:30:14 +02:00
physics_server_2d.cpp Change the "Physics Engine" project settings to prompt a restart 2023-06-04 17:24:42 +02:00
physics_server_2d.h PhysicsDirectBodyState2D: add get_contact_local_velocity_at_position 2023-04-14 11:40:06 +02:00
physics_server_2d_wrap_mt.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
physics_server_2d_wrap_mt.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
physics_server_3d.cpp Change the "Physics Engine" project settings to prompt a restart 2023-06-04 17:24:42 +02:00
physics_server_3d.h Resolved issues with script PhysicsDirectBodyState3d contacts 2023-04-12 11:40:34 -07:00
physics_server_3d_wrap_mt.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
physics_server_3d_wrap_mt.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_server_types.cpp Fix extension bindings for motion collision/result structs 2023-03-09 17:31:56 +01:00
register_server_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rendering_server.cpp Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
rendering_server.h Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
SCsub Add NavigationPathQuery 2022-09-20 22:20:11 +02:00
server_wrap_mt_common.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
text_server.cpp [Text Server] Fix ellipsis outline drawing. 2023-07-24 08:07:29 +03:00
text_server.h [TextServer] Add support for retrieving OpenType name strings. 2023-05-22 18:08:34 +03:00
xr_server.cpp Add XRServer.world_origin property 2023-03-01 22:18:47 +11:00
xr_server.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00