Merge pull request #73240 from myaaaaaaaaa/worker-h

Move some `worker_thread_pool.h` includes out of header files
This commit is contained in:
Rémi Verschelde 2023-02-13 21:05:57 +01:00
commit e78b77481e
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 9 additions and 3 deletions

View file

@ -30,6 +30,7 @@
#include "godot_step_2d.h" #include "godot_step_2d.h"
#include "core/object/worker_thread_pool.h"
#include "core/os/os.h" #include "core/os/os.h"
#define BODY_ISLAND_COUNT_RESERVE 128 #define BODY_ISLAND_COUNT_RESERVE 128

View file

@ -33,7 +33,6 @@
#include "godot_space_2d.h" #include "godot_space_2d.h"
#include "core/object/worker_thread_pool.h"
#include "core/templates/local_vector.h" #include "core/templates/local_vector.h"
class GodotStep2D { class GodotStep2D {

View file

@ -32,6 +32,7 @@
#include "godot_joint_3d.h" #include "godot_joint_3d.h"
#include "core/object/worker_thread_pool.h"
#include "core/os/os.h" #include "core/os/os.h"
#define BODY_ISLAND_COUNT_RESERVE 128 #define BODY_ISLAND_COUNT_RESERVE 128

View file

@ -33,7 +33,6 @@
#include "godot_space_3d.h" #include "godot_space_3d.h"
#include "core/object/worker_thread_pool.h"
#include "core/templates/local_vector.h" #include "core/templates/local_vector.h"
class GodotStep3D { class GodotStep3D {

View file

@ -30,6 +30,7 @@
#include "render_forward_clustered.h" #include "render_forward_clustered.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/object/worker_thread_pool.h"
#include "servers/rendering/renderer_rd/framebuffer_cache_rd.h" #include "servers/rendering/renderer_rd/framebuffer_cache_rd.h"
#include "servers/rendering/renderer_rd/renderer_compositor_rd.h" #include "servers/rendering/renderer_rd/renderer_compositor_rd.h"
#include "servers/rendering/renderer_rd/storage_rd/light_storage.h" #include "servers/rendering/renderer_rd/storage_rd/light_storage.h"

View file

@ -30,6 +30,7 @@
#include "render_forward_mobile.h" #include "render_forward_mobile.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/object/worker_thread_pool.h"
#include "servers/rendering/renderer_rd/storage_rd/light_storage.h" #include "servers/rendering/renderer_rd/storage_rd/light_storage.h"
#include "servers/rendering/renderer_rd/storage_rd/mesh_storage.h" #include "servers/rendering/renderer_rd/storage_rd/mesh_storage.h"
#include "servers/rendering/renderer_rd/storage_rd/particles_storage.h" #include "servers/rendering/renderer_rd/storage_rd/particles_storage.h"

View file

@ -33,6 +33,7 @@
#include "core/io/compression.h" #include "core/io/compression.h"
#include "core/io/dir_access.h" #include "core/io/dir_access.h"
#include "core/io/file_access.h" #include "core/io/file_access.h"
#include "core/object/worker_thread_pool.h"
#include "core/version.h" #include "core/version.h"
#include "renderer_compositor_rd.h" #include "renderer_compositor_rd.h"
#include "servers/rendering/rendering_device.h" #include "servers/rendering/rendering_device.h"

View file

@ -31,6 +31,7 @@
#include "renderer_scene_cull.h" #include "renderer_scene_cull.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/object/worker_thread_pool.h"
#include "core/os/os.h" #include "core/os/os.h"
#include "rendering_server_default.h" #include "rendering_server_default.h"
#include "rendering_server_globals.h" #include "rendering_server_globals.h"

View file

@ -31,6 +31,7 @@
#include "renderer_viewport.h" #include "renderer_viewport.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/object/worker_thread_pool.h"
#include "renderer_canvas_cull.h" #include "renderer_canvas_cull.h"
#include "renderer_scene_cull.h" #include "renderer_scene_cull.h"
#include "rendering_server_globals.h" #include "rendering_server_globals.h"

View file

@ -31,6 +31,7 @@
#ifndef RENDERING_SERVER_DEFAULT_H #ifndef RENDERING_SERVER_DEFAULT_H
#define RENDERING_SERVER_DEFAULT_H #define RENDERING_SERVER_DEFAULT_H
#include "core/os/thread.h"
#include "core/templates/command_queue_mt.h" #include "core/templates/command_queue_mt.h"
#include "core/templates/hash_map.h" #include "core/templates/hash_map.h"
#include "renderer_canvas_cull.h" #include "renderer_canvas_cull.h"

View file

@ -31,6 +31,7 @@
#include "rendering_server.h" #include "rendering_server.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/object/worker_thread_pool.h"
#include "core/variant/typed_array.h" #include "core/variant/typed_array.h"
#include "servers/rendering/rendering_server_globals.h" #include "servers/rendering/rendering_server_globals.h"
#include "servers/rendering/shader_language.h" #include "servers/rendering/shader_language.h"

View file

@ -35,7 +35,6 @@
#include "core/math/geometry_3d.h" #include "core/math/geometry_3d.h"
#include "core/math/transform_2d.h" #include "core/math/transform_2d.h"
#include "core/object/class_db.h" #include "core/object/class_db.h"
#include "core/object/worker_thread_pool.h"
#include "core/templates/rid.h" #include "core/templates/rid.h"
#include "core/variant/typed_array.h" #include "core/variant/typed_array.h"
#include "core/variant/variant.h" #include "core/variant/variant.h"