Revision dfbb13b by Antonio Vazquez July 3, 2020, 11:52 (GMT) |
GPencil: Cleanup more comments (cont) |
Revision 6fea8ec by Sergey Sharybin July 3, 2020, 10:58 (GMT) |
Clang-Tidy: Enable redundant static qualifier warning This change enables readability-static-definition-in-anonymous-namespace warning in .clang-tidy configuration. |
Revision aab4140 by Bastien Montagne July 3, 2020, 10:56 (GMT) |
Move bSound cache handling during undo to new system. |
Revision ae5529c by Bastien Montagne July 3, 2020, 10:56 (GMT) |
Cleanup: do not use magic values for enums... |
Revision 8e0f8bb by Bastien Montagne July 3, 2020, 10:56 (GMT) |
New undo cache management: Add Image IDs. Some notes: * `Image.cache` acts as some kind of 'main' cache, when it is NULL (could not be restored), other caches should also be cleared. Oddly enough, previous code was not clearing **all** caches, could not find any reason for that behavior, so new code does a full clear. * `imamap` is still used for Node previews from scenes' compositor, however this is actually fully disabled in `direct_link_node()`. * For render slots we cannot use offsetof as third part of the cache key, so we are using a hash of the slot's name instead. As far as I can tell, this fixes T76989: Visual glitches when undo after reload multiple images by script (in Material Preview). |
Revision 5fa6bd8 by Bastien Montagne July 3, 2020, 10:56 (GMT) |
Readfile/Undo: initial refactor of cache preservation code. Main goal here is to have better specificity using cache keys, to avoid same memroy address being re-used messing up with cache pointers restoration after undo had to re-read a data-block. Once all caches handling are ported to this new system, it should fix random issues like the one reported in T76989. Part of D8183, refactoring how we preserve caches across undo steps in readfile code. |
Revision 6cb796e by Bastien Montagne July 3, 2020, 10:56 (GMT) |
IDTypeInfo: add new callback to loop over all cache pointers of an ID. Part of D8183, refactoring how we preserve caches across undo steps in readfile code. |
Revision 5dda6ce by Bastien Montagne July 3, 2020, 10:56 (GMT) |
Add key structure and hashing utils for ID caches. Part of D8183, refactoring how we preserve caches across undo steps in readfile code. |
Revision a06d959 by Antonio Vazquez July 3, 2020, 10:55 (GMT) |
GPencil: Cleanup more comments (cont) |
Revision 972d170 by Antonio Vazquez July 3, 2020, 10:55 (GMT) |
GPencil: Cleanup more comments (cont) |
Revision 4ccd96f by Brecht Van Lommel July 3, 2020, 10:36 (GMT) |
Cycles: rename viewport denoise Fastest option to Automatic and extend tooltip |
Revision 83eeadd by Sergey Sharybin July 3, 2020, 10:30 (GMT) |
Clang-tidy: Enable bugprone-lambda-function-name warning |
Revision bbeb1b2 by Sergey Sharybin July 3, 2020, 10:30 (GMT) |
Depsgraph: Use C++ style of guarded allocation of objects |
Revision 468adfa by Sergey Sharybin July 3, 2020, 10:30 (GMT) |
Guarded allocator: Override placement new operator Allows to in-place construct objects which are using guarded allocator. |
Revision cdea648 by Antonio Vazquez July 3, 2020, 09:54 (GMT) |
GPencil: Cleanup move functions to geom from modifier |
Revision 2193c37 by Antonio Vazquez July 3, 2020, 09:54 (GMT) |
GPencil: Cleanup Doxygen comments (cont) |
Revision b1d3850 by Sebastián Barschkis July 3, 2020, 09:52 (GMT) |
Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' naming Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause. |
Revision 868d6ba by Antonio Vazquez July 3, 2020, 09:20 (GMT) |
GPencil: Cleanup Doxygen comments |
Revision 746aec5 by Sergey Sharybin July 3, 2020, 09:14 (GMT) |
Cycles: Use TBB's spin mutex First benefit is reduced boilerplate code. Second benefit is fixed warnings about using deprecated spin lock on macOS when using SDK 10.12 and above. Differential Revision: https://developer.blender.org/D8182 |
Revision 0e1ee29 by Sergey Sharybin July 3, 2020, 09:14 (GMT) |
BLI: Use TBB spin_mutex as SpinLock implementation When building without TBB use native to the platform spin lock implementation. For Windows it is an atomic-based busy-wait, for Linux it is pthreads' spin lock. For macOS it is a mutex lock. The reason behind this is to stop using atomics library which has been declared deprecated in SDK version 10.12. So this changes fixes a lot of noisy warnings on the newer SDK. Differential Revision: https://developer.blender.org/D8180 |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021