virtualx-engine/servers/rendering
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
..
dummy (Re-)Implemented Light3D's property "shadow_reverse_cull_face" 2023-05-19 19:22:10 +02:00
environment Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D 2023-01-31 20:04:11 +01:00
renderer_rd Merge pull request #79865 from clayjohn/discard-shader 2023-07-25 21:26:27 +02:00
storage Fix shader uniform storage conversions and crash 2023-05-29 15:17:13 +03:00
renderer_canvas_cull.cpp Fix Y-sort modulate for top-most Y-sorted CanvasItem 2023-06-12 13:33:26 +02:00
renderer_canvas_cull.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
renderer_canvas_render.cpp
renderer_canvas_render.h Fixes a canvas item set to clip children being drawn as black if no children are visible 2023-03-07 09:53:26 +02:00
renderer_compositor.cpp Forbid passing multiview sampler to the custom function in shaders 2023-02-21 11:23:17 +03:00
renderer_compositor.h Forbid passing multiview sampler to the custom function in shaders 2023-02-21 11:23:17 +03:00
renderer_geometry_instance.cpp
renderer_geometry_instance.h Expose RD::texture_native_handle 2023-06-14 09:58:08 +10:00
renderer_scene_cull.cpp Fix instance uniform data buffer update delay 2023-07-18 12:19:15 +03:00
renderer_scene_cull.h Properly clear material slots on mesh instance when material is freed 2023-05-22 23:00:00 +10:00
renderer_scene_occlusion_cull.cpp
renderer_scene_occlusion_cull.h
renderer_scene_render.cpp
renderer_scene_render.h
renderer_viewport.cpp Add RENDERING_INFO parameters to GL Compatibility renderer 2023-06-16 09:10:00 +02:00
renderer_viewport.h Add RENDERING_INFO parameters to GL Compatibility renderer 2023-06-16 09:10:00 +02:00
rendering_device.cpp Split raster barrier into vertex and fragment barrier 2023-07-15 12:30:32 +10:00
rendering_device.h Split raster barrier into vertex and fragment barrier 2023-07-15 12:30:32 +10:00
rendering_device_binds.cpp
rendering_device_binds.h Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
rendering_method.cpp
rendering_method.h
rendering_server_default.cpp Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
rendering_server_default.h Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
rendering_server_globals.cpp
rendering_server_globals.h
SCsub
shader_compiler.cpp Merge pull request #77740 from ChibiDenDen/simplify_vulkan 2023-07-12 17:16:12 +02:00
shader_compiler.h replace sampler arrays with constant sampler elements 2023-06-22 01:11:57 +03:00
shader_language.cpp Merge pull request #79459 from MoltenCoffee/fix-shader-arguments-error 2023-07-24 19:32:46 +02:00
shader_language.h Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
shader_preprocessor.cpp i18n: Sync translations with Weblate (now tracking 4.1 strings) 2023-06-12 14:57:08 +02:00
shader_preprocessor.h Fix Shader Preprocessor line numbering when disabled 2023-04-26 16:48:23 +03:00
shader_types.cpp Merge pull request #76565 from clayjohn/debug-PSSM-splits 2023-05-15 09:33:01 +02:00
shader_types.h
shader_warnings.cpp
shader_warnings.h