Revision f8fc77e by Brecht Van Lommel November 23, 2017, 23:12 (GMT) |
Cycles: add object level holdout property, to replace Z mask layer. |
Revision d992240 by Brecht Van Lommel November 23, 2017, 23:12 (GMT) |
Fix unneeded legacy OpenGL call in Cycles viewport drawing. |
Revision b63442e by Bastien Montagne November 23, 2017, 21:43 (GMT) |
Minor cleanup for own recent commits. |
Revision a786baa by Bastien Montagne November 23, 2017, 20:36 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 43ddf0e by Bastien Montagne November 23, 2017, 20:21 (GMT) |
Getting rid of OMP: first usage of new parallel BMesh items iteration instead. `BM_mesh_normals_update` was converted from OMP to new parallel iterator code, basic test with heavily subdivided cube (24.5k faces) gives: - old OMP code: average 10ms per run. - new BLI_task code: average 6ms per run. So new code seems to be easily 40% quicker, in addition to getting rid of OMP. ;) Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D2930 |
Revision bc3f0cf by Bastien Montagne November 23, 2017, 20:19 (GMT) |
BMesh: add limited support for parallelization over some basic iterators. This merely uses new memloop/task looper over vertex/edge/face mempools. Quite obviously, only BM_VERTS/EDGES/FACES_OF_MESH iterators are supported. |
Revision cf6e8ed by Bastien Montagne November 23, 2017, 20:17 (GMT) |
atomic_ops: add `atomic_cas_float` helper. |
Revision efb86b7 by Bastien Montagne November 23, 2017, 20:14 (GMT) |
Add a new parallel looper for MemPool items to BLI_task. It merely uses the new thread-safe iterators system of mempool, quite straight forward. Note that to avoid possible confusion with two void pointers as parameters of the callback, a dummy opaque struct pointer is used instead for the second parameter (pointer generated by iteration over mempool), callback functions must explicitely convert it to expected real type. Also added a basic gtest for this new feature. |
Revision b84e6df by Bastien Montagne November 23, 2017, 20:12 (GMT) |
Add ability to use more than one mempool iterator simultaneously. This will allow threaded tasks to 'consume' all mempool items in parallel tasks, each one working on a whole chunk at once (to reduce concurrency managing overhead). |
Revision c947788 by Bastien Montagne November 23, 2017, 19:34 (GMT) |
Merge branch 'master' into blender2.8 |
Revision ff9eab7 by Bastien Montagne November 23, 2017, 19:25 (GMT) |
atomic_ops: Copy/adapt static assert macro from BLI_utildefines, and use it. Checking for type sizes is much nicer with a static assert! |
Revision d423e66 by Bastien Montagne November 23, 2017, 19:25 (GMT) |
Add non-gcc variant of static assert macro. Adapted from http://www.pixelbeat.org/programming/gcc/static_assert.html. Note that this macro just discards error message, so error when building is much less nice than with gcc's _Static_assert... But error log will point to right place in code, so should still be OK. |
Revision 5e13097 by Brecht Van Lommel November 23, 2017, 19:17 (GMT) |
Fix T53145: bevel tool fails when used a second time. Pixel size was not initial early enough. For first time this was not a problem because the bevel amount starts at 0 then, and after the mouse moves the pixel size is initialized. For the second time the bevel amount starts at a non-zero value, and it failed then. |
Revision 4f8bffa by Brecht Van Lommel November 23, 2017, 18:16 (GMT) |
Merge branch 'master' into blender2.8 |
Revision debd9f6 by Brecht Van Lommel November 23, 2017, 18:13 (GMT) |
Fix T53171: lamp specials strength tweak fails with renamed emission nodes. |
Revision 56da112 by Brecht Van Lommel November 23, 2017, 17:12 (GMT) |
Fix T53360: crash with GLSL bump mapping and missing group output node. |
Revision b79b847 by Dalai Felinto November 23, 2017, 16:58 (GMT) |
Cleanup: Rename ViewLayer *sl > ViewLayer *view_layer |
Revision f218e6d by Brecht Van Lommel November 23, 2017, 16:55 (GMT) |
Fix T53276: encoding output quality UI clarification. |
Revision 6be95f8 by Brecht Van Lommel November 23, 2017, 16:14 (GMT) |
Fix T53357: harmless assert after recent addition of render time pass. |
Revision dd04f54 by Brecht Van Lommel November 23, 2017, 16:14 (GMT) |
Fix inaccuracy when storing material ID pass in half float multilayer EXR. These and other non-RGB passes should always be stored as full float, the precision loss is too unpredictable. Related to T53381, but that one is about file output nodes where we don't know the type of data being saved currently. |
|