godot/scene/3d
Pedro J. Estébanez 18fbdbb456 Reimplement Mutex with C++'s <mutex>
Main:
- It's now implemented thanks to `<mutex>`. No more platform-specific implementations.
- `BinaryMutex` (non-recursive) is added, as an alternative for special cases.
- Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes.
- Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts.
- A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this.
- `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`.
- Thread-safe utilities are therefore simpler now.

Misc.:
- `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same.
- Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock).
- `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26 20:40:10 +01:00
..
area.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
area.h ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
arvr_nodes.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
arvr_nodes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_player_3d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
audio_stream_player_3d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
baked_lightmap.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
baked_lightmap.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
bone_attachment.cpp Added StringName as a variant type. 2020-02-21 14:25:29 +01:00
bone_attachment.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
camera.h WIP CameraEffects implementation (bokeh not working for now) 2020-02-11 12:15:03 +01:00
collision_object.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
collision_polygon.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_shape.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
collision_shape.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles.cpp Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
cpu_particles.h Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
gi_probe.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
gi_probe.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
immediate_geometry.cpp PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
immediate_geometry.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
interpolated_camera.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
interpolated_camera.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
light.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
light.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
listener.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
listener.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
mesh_instance.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
multimesh_instance.cpp PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
multimesh_instance.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
navigation_agent.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
navigation_agent.h Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_mesh_instance.cpp Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_mesh_instance.h Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_obstacle.cpp Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_obstacle.h Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
navigation.h Added utility functions to the new NavigationServer: 2020-02-18 17:12:45 +01:00
particles.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
particles.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
path.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
path.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_body.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
physics_body.h Remove deprecated PhysicsBody friction and bounce parameters 2020-02-12 13:39:55 +01:00
physics_joint.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
physics_joint.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
position_3d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
position_3d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
proximity_group.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
proximity_group.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ray_cast.cpp ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
ray_cast.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reflection_probe.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
reflection_probe.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
remote_transform.cpp ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
remote_transform.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Fix uses of [].append instead of env.add_source_files() 2019-07-22 15:08:32 +02:00
skeleton.cpp Added StringName as a variant type. 2020-02-21 14:25:29 +01:00
skeleton.h Add support for named binds in Skin. 2020-02-21 09:40:29 -03:00
soft_body.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
soft_body.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
spatial_velocity_tracker.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_velocity_tracker.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial.cpp Fixes crash in Spatial::notification 2020-01-25 13:16:51 +08:00
spatial.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spring_arm.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
spring_arm.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite_3d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
sprite_3d.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
vehicle_body.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
vehicle_body.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visibility_notifier.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visibility_notifier.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_instance.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_instance.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
voxelizer.cpp PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
voxelizer.h Fix compilation warnings and re-enable werror=yes on Travis 2020-02-18 20:51:25 +01:00
world_environment.cpp Remove more deprecated methods and code 2020-02-13 12:37:45 +01:00
world_environment.h WIP CameraEffects implementation (bokeh not working for now) 2020-02-11 12:15:03 +01:00