godot/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
camera
debugger
extensions
movie_writer
navigation
physics_2d
physics_3d
rendering Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
text
xr
audio_server.cpp
audio_server.h
camera_server.cpp
camera_server.h
display_server_headless.h
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
navigation_server_2d.cpp
navigation_server_2d.h
navigation_server_3d_dummy.h Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated 2023-07-07 02:30:14 +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
physics_server_2d_wrap_mt.cpp
physics_server_2d_wrap_mt.h
physics_server_2d.cpp
physics_server_2d.h
physics_server_3d_wrap_mt.cpp
physics_server_3d_wrap_mt.h
physics_server_3d.cpp
physics_server_3d.h
register_server_types.cpp
register_server_types.h
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
server_wrap_mt_common.h
text_server.cpp [Text Server] Fix ellipsis outline drawing. 2023-07-24 08:07:29 +03:00
text_server.h
xr_server.cpp
xr_server.h