Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-07-27Cleanup: remove check for old GCC&PPCCampbell Barton
2017-07-16Fix T52034: cell noise renders different.Brecht Van Lommel
Tweak the bias from the previous fix a bit to be more backwards compatible in some scene. In the end which way we round is quite arbitrary, but keeping the case where the texture coordinate is exactly zero the same seems better.
2017-07-02Fix T51951: cell noise texture precision issue at unit vertex coordinates.Brecht Van Lommel
Solution is to bias the coordinates a little, same as Cycles checker texture.
2017-06-23Fix T51845raa
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-11BLI_kdopbvh: add ifdef's for debugging infoCampbell Barton
Allow to quickly enable print & tree verify.
2017-06-09Math Lib: Add mat3_from_axis_conversion_singleCampbell Barton
Single axis version of mat3_from_axis_conversion, when the second axis isn't important (orienting an arrow for eg).
2017-06-07gcc5 has issues with WconversionDalai Felinto
This leads to a crash in 2.8, but commiting here. Patch by Campbell Barton.
2017-06-06BLI: Use C++ guards for stack headerSergey Sharybin
This is handy to have C++ guards for BLI functions so they can be easily re-used in C++ code. This matches other headers from this library as well.
2017-06-02Cleanup: styleCampbell Barton
2017-05-31Task scheduler: Optimize subsequent pushing bunch of tasksSergey Sharybin
The idea is to accumulate all new tasks in a thread local queue first without doing any thread synchronization (aka, locks and conditional variables) and move those tasks to a scheduler queue once they are all ready. This way we avoid per-task-pool lock and only have one lock per bunch of tasks. This is particularly handy when scheduling new dependency graph node children. Brings FPS of cached simulation from the linked below file from ~30 to ~50. See documentation for BLI_task_pool_delayed_push_{begin, end} and for TaskThreadLocalStorage::do_delayed_push. Fixes T50027: Rigidbody playback and simulation performance regression with new depsgraph Thanks Bastien for the review!
2017-05-31Cleanup: Easier to read constant nameSergey Sharybin
2017-05-30Move GHash/GSet/LinkList iterators to BLI filesSergey Sharybin
Those are not depsgraph or C++ specific and can be used by everyone.
2017-05-30Move hash_combine utility function to a more generic placeSergey Sharybin
This way everyone can benefit from it, not only dependency graph.
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-22Fix wrong comment in BLI_findstringindex (returns 0-based index!).Bastien Montagne
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-16Cleanup: gcc7.1 warningsCampbell Barton
2017-05-06Cleanup: use index syntax instead of additionCampbell Barton
Harmless but made accessing the first element read strangely.
2017-05-06Cleanup: use uint/ushort for polyfill2dCampbell Barton
2017-05-06Cleanup: use const pointers where possibleCampbell Barton
2017-05-06Cleanup: unused return, redundant assignmentsCampbell Barton
2017-05-06Cleanup: line length, use const struct membersCampbell Barton
2017-04-26Ensure task scheduler exists before any threading starts in BlenderSergey Sharybin
2017-04-24Cleanup: styleCampbell Barton
2017-04-24BLI_dynstr: add memarena-based version, and helper to clear without freeing.Bastien Montagne
2017-04-21Docs: diagram for reflect_v3_v3v3Campbell Barton
2017-04-20Docs: move note (was mixed up)Campbell Barton
2017-04-18Cleanup: missing headersCampbell Barton
2017-04-17BLI: make BLI_make_existing_file() return true on success, and false on ↵Bastien Montagne
failure...
2017-04-17Fix build error on Windows introduced in D2425Alexander Romanov
2017-04-14Object Info node support for GLSL mode and the internal renderAlexander Romanov
Object Info node can be useful to give some variation to a single material assigned to multiple instances. This patch adds support for Viewport and BI. {F499530} Example: {F499528} Reviewers: merwin, brecht, dfelinto Reviewed By: brecht Subscribers: duarteframos, fclem, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D2425
2017-04-13Task scheduler: Fix typo in TLS for pools created from non-main threadSergey Sharybin
Did a mistake which started to use same TLS for all threads for such pools. Also added some extra asserts to help catching the bugs.
2017-04-12Task scheduler: Prevent race condition for the pools created from non-main ↵Sergey Sharybin
thread We can not re-use anything for such pools, because we will know nothing about whether the main thread is sleeping or not. So we identify such threads as 0, but we don't use main thread's TLS. This fixes dead-locks and crashes reported by Luca when doing playblasts.
2017-04-09ListBase: Add insert-replace functionCampbell Barton
Handy to replace an existing link (without having to store before/after links) Use for id-props
2017-04-04Task: Remove non-atomic pool suspended flag assignmentSergey Sharybin
This was done some lines above by atomic fetch and and.
2017-03-24BLI_path_util: Add BLI_path_joinCampbell Barton
There weren't any convenient ways to join multiple paths in C that accounted for corner cases.
2017-03-23BLI_path_util: Add string versions of SEP, ALTSEPCampbell Barton
This allows for adding separators in string literals.
2017-03-22Cleanup: remove BLI_getlastdirCampbell Barton
Replace with BLI_path_name_at_index
2017-03-22BLI_path_util: add BLI_path_name_at_indexCampbell Barton
Utility to get a file/dir in the path by index, supporting negative indices to start from the end of the path. Without this it wasn't straightforward to get the a files parent directory name from a filepath.
2017-03-12Comments: minor clarificationCampbell Barton
2017-03-11Cleanup: code style & cmakeCampbell Barton
2017-03-08Rename BLI_rct*_init_pt_size -> radiusCampbell Barton
2017-03-08Fix T50886: Blender crashes on renderSergey Sharybin
Was a mistake in one of the previous TLS commits. See comment in the pool_create to see some details why it was crashing.
2017-03-07Task scheduler: Add concept of suspended poolsSergey Sharybin
Suspended pools allows to push huge amount of initial tasks without any threading synchronization and hence overhead. This gives ~50% speedup of cached rigid body with file from T50027 and seems to have no negative affect in other scenes here.
2017-03-07Task scheduler: Initial implementation of local tasks queuesSergey Sharybin
The idea is to allow some amount of tasks to be pushed from working thread to it's local queue, so we can acquire some work without doing whole mutex lock. This should allow us to remove some hacks from depsgraph which was added there to keep threads alive.
2017-03-07Task scheduler: Use real pthread's TLS to access active thread's dataSergey Sharybin
This allows us to avoid TLS stored in pool which gives us advantage of using pre-allocated tasks pool for the pools created from non-main thread. Even on systems with slow pthread TLS it should not be a problem because we access it once at a pool construction time. If we want to use this more often (for example, to get rid of push_from_thread) we'll have to do much more accurate benchmark.