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
2018-01-12Build: auto detection of libraries built by "make deps" on Linux.Brecht Van Lommel
Use the libraries if they exist in ../lib/linux_x86_64 or similar, so that you can run "make deps && make full" to get a full static build. Note that install_deps.sh is still the only officially supported way to build Blender dependencies on Linux, but this may be useful to some. Differential Revision: https://developer.blender.org/D2980
2018-01-11Cleanup commented out OMP command.Bastien Montagne
2018-01-11Nuke OMP from multires.c: forgot that one in previous commit.Bastien Montagne
Gives same kind of speedup too, 8.7ms with old OMP code, 2.7ms with new one, with same level-4 multires monkey head.
2018-01-11Nuke OMP usage in multires.c.Bastien Montagne
New code is over three times quicker than old one here (e.g. Suzanne subdiv level 4, 250k tris, threaded part is now 1.4ms instead of 4.5ms with OMP).
2018-01-11Preparation step for nuking OMP from multires code.Bastien Montagne
Remove the critical OMP sections used to protect mem allocation. First one can be done in a separate loop before main, parallelized one. Second one only affect 'private' data, so we only need to ensure guardedalloc thread safety is enabled. This is committed as separated step to ease troubleshooting in case bisecting becomes necesary.
2018-01-11Cleanup typo in comment.Bastien Montagne
2018-01-11Subsurf: Allow partial threading over geometry arraysSergey Sharybin
This helps avoiding threading overhead when having lots of system threads..
2018-01-11Mesh evaluate: Tweak threadability criteriaSergey Sharybin
Gives measurable speedup on layout scenes from Spring. Actual value for chunk size is a subject for more scientific research.
2018-01-11Mesh deform: Tweak threadability criteriaSergey Sharybin
Allow threading using subset of all available threads. Makes it faster to evaluate lower resolution mesh but with complex deform groups and such.
2018-01-11Subsurf: Make copyFinalLoopArray() threadedSergey Sharybin
Gives about 40% speedup of object which has simple-ish deformation applied on top of subdivided mesh. This might easily happen with single character animation.
2018-01-11Depsgraph: Make eval initialization more friendly for threadingSergey Sharybin
Helps in cases of not very complex scenes and lots of system threads available. A bit hard to measure change on it's own, it works best with the upcoming changes and gives measurable improvements.
2018-01-11Subsurf: Use regular mutex instead of RW oneSergey Sharybin
Mutex is now local to particular CCGDM, and guarding edge hash which is only used by a single function only. There is no need to acquire read lock after edge hash was created.
2018-01-11Fix critical issue with our DNA ID tags (two totally different tags having ↵Bastien Montagne
same value). Nice typo from rBc4046e9082f6, tssk. ;)
2018-01-11Fix T53311: transform edge/normal orientationCampbell Barton
When the edge is aligned with it's own normals, transform orientation wasn't aligned with the edge.
2018-01-11Fix T53755: Cycles OpenCL lamp shaders have incorrect normal.Brecht Van Lommel
2018-01-11UI: option not to show screen splitting widgetsCampbell Barton
Request for simplified Blender template, this may be extended to limit access to other UI changes that could be pressed by accident.
2018-01-11UI: don't draw outline when it's not calculatedCampbell Barton
Outline drawing was running even when there were no verts to draw. Causes an assert in 2.8.
2018-01-11Cycles: support animated object scale in motion blur.Stefan Werner
This was disabled previously due to CUDA compiler bugs, see T32900. Differential Revision: https://developer.blender.org/D2937
2018-01-11Fix T53455: Object disappear w/ TrackTo constraintCampbell Barton
Regression caused by own commit 16fbb47c886, this is really an edge case though since calling normalize twice fixes.
2018-01-11Fix T53752: Draw curve fails w/ stylusPhilipp Oeser
2018-01-11Fix Windows compiler warning using WITH_CYCLES_NATIVE_ONLY.Brecht Van Lommel
2018-01-11Fix issue with moving CUDA memory to host and multiple devices.Brecht Van Lommel
This is not expected to fix all issues. Also adds some more details to error reporting to investigate failures.
2018-01-11Fix T53692: OpenCL multi GPU rendering not using all GPUs.Brecht Van Lommel
Ensure each OpenCL device has a unique ID even if the hardware ID is not unique for some reason.
2018-01-11Cleanup: BKE naming conventions for datablock add/localizeCampbell Barton
Conventions were already followed nearly everywhere.
2018-01-10Subsurf: Loop array should not be called mvSergey Sharybin
mv is a mesh vertex, not loop.
2018-01-10Subsurf: Remove increment of unused variableSergey Sharybin
2018-01-10Fix wrong data type used for undo memory limitSergey Sharybin
2018-01-10Task scheduler: Use const qualifier in callbacks for parallel rangeSergey Sharybin
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-10Task scheduler: Use more const qualifiersSergey Sharybin
2018-01-10RNA: Increase memory limit settings to their possible max on platformSergey Sharybin
This is quite common to have 64GB memory now, and even 128. There is no reason to add any artificial caps on the cache and undo memory here. We can not protect against using too much memory in one cases and allow use of full computer potential in others. Now 32 bit will use 2GB max (as it used to be), but 64bit will use whatever number of megabytes fits into integer. Reviewers: campbellbarton, mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D2972
2018-01-10math utils: Add size_t version of min and max functionsSergey Sharybin
2018-01-10Cleanup: comment block alignmentCampbell Barton
2018-01-10Alternate fix for brush user countCampbell Barton
This reverts change to BKE_brush_add, callers now remove the extra user. Note this isn't very convenient for callers but is consistent with other ID types. In the future we will probably remove this and have new ID's created with zero users.
2018-01-10Correction to brush user commitCampbell Barton
RNA API was compensating for the extra user.
2018-01-10Fix background_job templateCampbell Barton
Update attribute and use empty file operator
2018-01-10Fix brush user countCampbell Barton
New brushes had 2 users on adding. Caused assert removing them after.
2018-01-10Correct typosCampbell Barton
2018-01-10Fix T53491: Absolute tablet motion detection failsCampbell Barton
When using a tablet, detecting absolute motion only worked when activating a tool with the tablet. Pressing Enter to run a tool for e.g. would use relative motion. Now store is_motion_absolute in the event, set for new events based on the most recent motion events.
2018-01-10fix t53701 minimal changes to get it working rightbjornmose
2018-01-09Fix (unreported) potential crash.Bastien Montagne
RNA_pointer_as_string could return NULL instead of a valid string in some cases.
2018-01-09Task scheduler: Use single thread branch when range fits into single chunkSergey Sharybin
2018-01-09Task scheduler: Fix wrong tasks calculation when chunk size is too bigSergey Sharybin
2018-01-09Task scheduler: Use const qualifiers in parallel rangeSergey Sharybin
2018-01-09Task scheduler: Avoid over-allocation of tasks for parallel rangesSergey Sharybin
This seems to only cause extra rthreading overhead on systems with 10s of threads, without actually solving anything.
2018-01-09Task scheduler: Add minimum number of iterations per thread in parallel rangeSergey Sharybin
The idea is to support following: allow doing parallel for on a small range, each iteration of which takes lots of compute power, but limit such range to a subset of threads. For example, on a machine with 44 threads we can occupy 4 threads to handle range of 64 elements, 16 elements per thread, where each block of 16 elements is very complex to compute. The idea should be to use this setting instead of global use_threading flag, which is only based on size of array. Proper use of the new flag will improve threadability. This commit only contains internal task scheduler changes, this setting is not used yet by any areas.
2018-01-09Task scheduler: Simplify parallel range functionSergey Sharybin
Basically, split it up and avoid extra abstraction level.
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2018-01-09Fix T53691: Motion Tracking Object Solver Constraint doesn't work as Bone ↵Sergey Sharybin
Constraint