godot/scene
Hein-Pieter van Braam ccbb5923ac Fix lightmapper rng
In our previous attempts to fix the lightmapper we may have
inadvertently introduced the same issue we were trying to fix. It
appears that rand() will on some platforms introduce a mutex making it
slower and on others may have a per-thread state that would need to be
initialized with srand() on each thread. This slows down the lightbaking
further.

This sets up a separate rng state for each OpenMP thread by calling
rand() only in the single-threaded part of the code. We then keep a
vector of states.

I believe this solves our problems.
2017-12-20 12:09:09 +01:00
..
2d Merge pull request #13991 from CyanBlob/master 2017-12-16 16:38:59 +01:00
3d Fix lightmapper rng 2017-12-20 12:09:09 +01:00
animation Revert property changes in "[DOCS] AnimationPlayer new props, members/methods" 2017-12-14 00:36:41 +01:00
audio Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
gui Added font oversampling support 2017-12-19 18:48:30 -03:00
main Make dynamic font oversampling fully dynamic. 2017-12-19 21:58:32 -03:00
resources Make dynamic font oversampling fully dynamic. 2017-12-19 21:58:32 -03:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
register_scene_types.cpp Make dynamic font oversampling fully dynamic. 2017-12-19 21:58:32 -03:00
register_scene_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
scene_string_names.cpp Unify degree members and properties 2017-11-10 12:52:07 +01:00
scene_string_names.h Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00