Alexander Romanov
e1482841dd
Merge branch 'master' into blender2.8
2017-07-03 19:53:00 +03:00
Brecht Van Lommel
3232d8ec8f
Fix T51951: cell noise texture precision issue at unit vertex coordinates.
...
Solution is to bias the coordinates a little, same as Cycles checker texture.
2017-07-02 22:00:10 +02:00
Campbell Barton
f0863f2a80
Merge branch 'master' into blender2.8
2017-06-26 13:27:54 +10:00
raa
bddb4de47c
Fix T51845
2017-06-23 11:05:54 +03:00
Campbell Barton
9649c6bef5
Merge branch 'master' into blender2.8
2017-06-19 15:06:48 +10:00
Campbell Barton
72c9141a7a
Cleanup: doxygen comments
...
Also remove duplicate & mismatching comments from grease-pencil header.
Keep comments close to implementation to avoid getting out of sync.
2017-06-19 10:04:30 +10:00
Campbell Barton
51404724cc
Merge branch 'master' into blender2.8
2017-06-16 01:29:20 +10:00
Campbell Barton
1d966ca7a1
Math Lib: add angle_on_axis_v3v3_v3
...
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-16 01:27:58 +10:00
Sergey Sharybin
0f4f4d8754
Merge branch 'master' into blender2.8
2017-06-12 15:12:36 +02:00
Campbell Barton
00c4f49a6d
Cleanup: indentation, long lines
2017-06-12 13:38:21 +10:00
Campbell Barton
dfd8b38e0c
BLI_kdopbvh: add ifdef's for debugging info
...
Allow to quickly enable print & tree verify.
2017-06-11 18:56:56 +10:00
Campbell Barton
bb773acd5f
Merge branch 'master' into blender2.8
2017-06-09 19:40:47 +10:00
Campbell Barton
d7f33668d6
Math Lib: Add mat3_from_axis_conversion_single
...
Single axis version of mat3_from_axis_conversion,
when the second axis isn't important (orienting an arrow for eg).
2017-06-09 19:31:27 +10:00
Campbell Barton
eae486f5e6
Merge branch 'master' into blender2.8
2017-06-02 15:39:29 +10:00
Campbell Barton
0d8bf4bf94
Cleanup: style
2017-06-02 15:38:04 +10:00
Sergey Sharybin
f32a18994a
Merge branch 'master' into blender2.8
2017-05-31 15:52:11 +02:00
Sergey Sharybin
a481908232
Task scheduler: Optimize subsequent pushing bunch of tasks
...
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-31 15:44:08 +02:00
Sergey Sharybin
2ae6973936
Cleanup: Easier to read constant name
2017-05-31 14:52:45 +02:00
Sergey Sharybin
15692c8cfe
Move hash_combine utility function to a more generic place
...
This way everyone can benefit from it, not only dependency graph.
2017-05-30 11:09:44 +02:00
Bastien Montagne
8ead56c4c9
Merge branch 'master' into blender2.8
2017-05-28 17:48:59 +02:00
Aaron Carlisle
9f044cb422
Remove MinGW support
...
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-27 15:34:55 -04:00
Bastien Montagne
44f91a9a18
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenloader/intern/versioning_270.c
2017-05-22 22:49:02 +02:00
Bastien Montagne
81667b770c
Fix wrong comment in BLI_findstringindex (returns 0-based index!).
2017-05-22 16:43:46 +02:00
Campbell Barton
65aab6cdae
Merge branch 'master' into blender2.8
2017-05-20 14:19:05 +10:00
Campbell Barton
81e584ed17
CMake: Use GCC7's -Wimplicit-fallthrough=5
...
Use to avoid accidental missing break statements,
use ATTR_FALLTHROUGH to suppress.
2017-05-20 14:01:03 +10:00
Campbell Barton
57660aac74
Merge branch 'master' into blender2.8
2017-05-16 13:01:26 +10:00
Campbell Barton
d508b69e44
Cleanup: gcc7.1 warnings
2017-05-16 12:46:52 +10:00
Clément Foucault
e053fade99
Mesh Batch Cache: get rid of the ORCO VBO data, and reconstruct it in shader.
...
With only one MADD instruction we recover the orco data and reduce both the storage and the fetching cost of an attrib layer.
2017-05-15 16:14:18 +02:00
Clément Foucault
38125d0499
Mesh Batch Cache: Define Compressed format for shading data.
...
Deactivated by default.
All shading attribs can be packed to take less VRAM at the cost of precision (not noticable in this case).
UVs can be packed into I16 but that limits their positions into the [-1, +1] range.
This could be a setting option in the future.
2017-05-15 16:14:17 +02:00
Julian Eisel
9181f13af7
Merge branch 'master' into blender2.8
2017-05-08 00:19:22 +02:00
Campbell Barton
bca6978347
Cleanup: use index syntax instead of addition
...
Harmless but made accessing the first element read strangely.
2017-05-07 03:21:27 +10:00
Campbell Barton
ce31a892db
Cleanup: use uint/ushort for polyfill2d
2017-05-07 02:19:56 +10:00
Campbell Barton
bdb4ecfbdd
Cleanup: use const pointers where possible
2017-05-07 02:12:35 +10:00
Campbell Barton
90ebf4832f
Merge branch 'master' into blender2.8
2017-05-06 22:54:28 +10:00
Campbell Barton
0eef40ed51
Cleanup: unused return, redundant assignments
2017-05-06 22:43:32 +10:00
Campbell Barton
b85f7e288e
Cleanup: line length, use const struct members
2017-05-06 11:13:14 +10:00
Campbell Barton
002b2066ac
Remove cpack
...
Places where it's removed are already replaced by newer logic.
2017-05-04 20:50:03 +10:00
Campbell Barton
c9d4a0930b
Merge branch 'master' into 28
2017-04-27 00:58:28 +10:00
Sergey Sharybin
e61ba39e7c
Ensure task scheduler exists before any threading starts in Blender
2017-04-26 16:00:02 +02:00
Bastien Montagne
2387ba93d2
BLI_math: add helper function to extract XY 2D scale from a 4D matrix.
2017-04-26 12:00:15 +02:00
Campbell Barton
2010dbe8a5
Merge branch 'master' into blender2.8
2017-04-24 22:11:05 +10:00
Bastien Montagne
6d9a223c90
BLI_dynstr: add memarena-based version, and helper to clear without freeing.
2017-04-24 10:42:10 +02:00
Sybren A. Stüvel
81011679dd
Merge branch 'master' into blender2.8
2017-04-21 14:19:05 +02:00
Campbell Barton
55a3d48046
Docs: diagram for reflect_v3_v3v3
2017-04-21 17:27:20 +10:00
Campbell Barton
d8bf090090
Merge branch 'master' into 28
2017-04-20 18:16:01 +10:00
Campbell Barton
9bb8e46460
Docs: move note (was mixed up)
2017-04-20 17:11:12 +10:00
Dalai Felinto
c9d78b6c43
Merge remote-tracking branch 'origin/master' into blender2.8
2017-04-18 16:30:13 +02:00
Bastien Montagne
819064154c
BLI: make BLI_make_existing_file() return true on success, and false on failure...
2017-04-17 17:35:53 +02:00
Bastien Montagne
95b3632112
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/alembic/intern/abc_exporter.cc
2017-04-14 12:39:54 +02:00
Sergey Sharybin
575d6415fb
Task scheduler: Fix typo in TLS for pools created from non-main thread
...
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-13 13:34:07 +02:00