Revision be8a201 by Campbell Barton June 16, 2021, 02:29 (GMT) |
Cleanup: unused warning |
Revision 0b0c7ca by Hans Goudey June 16, 2021, 02:11 (GMT) |
Cleanup: Fix inconsistent parameter name warning |
Revision c8e331f by Harley Acheson June 16, 2021, 02:01 (GMT) |
UI - LOCAL View3D overlay stats This patch improves the 3DView statistics overlay to show LOCAL stats while in local view. This means the stats can vary between 3DViews and the statusbar when views are in local view, but this gives a much more accurate count of the objects, and their components, that you are directly working with rather than just scene values. Differential Revision: https://developer.blender.org/D8883 Reviewed by Campbell Barton |
Revision 4891da8 by Richard Antalik June 15, 2021, 22:44 (GMT) |
Fix T88263: Incorrect image offset from old file Versioning code for converting strip offset property doesn't work, when property was animated and disabled or when crop was used. When offset property is animated and offset is enabled, animation is converted to be used with new transform design. When offset is disabled, animation is left untouched. New transform design doesn't have option to disable offset, and therefore old unconverted animation is used instead of converted static value. Remove animation from propery if it was unused. Another issue was that both X and Y offset animation was being corrected by factor caluclated for X channel. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11370 |
Revision 1a5fa2b by Richard Antalik June 15, 2021, 22:29 (GMT) |
VSE: Improve animation evaluation performance Use lookup string callback function for `sequences_all` RNA property `rna_SequenceEditor_sequences_all_lookup_string` using a GHash for faster lookups. When names are changed or strips are added/removed the lookup is tagged invalid. The next time the lookup is used it will rebuild it. Reviewed By: sergey, jbakker Differential Revision: https://developer.blender.org/D11544 |
Revision 143a81c by Hans Goudey June 15, 2021, 21:38 (GMT) |
Geometry Nodes: Allow int attribute input fields with single value Just like the way we often have a choice between an attribute input and a single float, this adds the ability to choose between attribute and integer input sockets, useful for D11421. |
Revision c29afa5 by Hans Goudey June 15, 2021, 21:31 (GMT) |
Cleanup: Expose function publicly, rename There is no particular reason these two functions shouldn't be used outside of the bezier spline implementation since they don't do anything particularly controversial. |
Revision 732e8c7 by Hans Goudey June 15, 2021, 21:24 (GMT) |
Splines: Add resize method to CurveEval This helps when adding splines to a new curve in parallel. |
Revision 6bb980b by Germano Cavalcante June 15, 2021, 20:03 (GMT) |
DRW: sanitize 'DRW_mesh_batch_cache_dirty_tag' Create maps that specify which batches have vbo or ibo as a reference and use these maps to discard batches along with buffers. Differential Revision: https://developer.blender.org/D11588 |
Revision 8e84938 by Julian Eisel June 15, 2021, 17:33 (GMT) |
Cleanup: Add files for version independent versioning helpers Adds `source/blender/blendloader/intern/versioning_common.cc` and `versioning_common.h` for version independent versioning functions. I only placed `do_versions_add_region_if_not_found()` in there for now. `blo_do_version_old_trackto_to_constraints()` could also be added, but that's so old, I prefer keeping that in `versioning_legacy.c`. |
Revision a4f840e by Julian Eisel June 15, 2021, 17:13 (GMT) |
UI: Support right aligned non-shortcut hints in widgets Widget drawing code already supported drawing right-aligned, grayed out shortcut strings. This patch generalizes things a bit so this can also be used to draw other hints in the same way. There have been a few instances in the past where this would've been useful, D11046 being the latest one. Note that besides some manual regression testing, I didn't check if this works yet, as there is no code actually using it (other than the shortcuts). Can be checked as part of further development for D11046. A possible further improvement would be providing a way to define how clipping should be done. E.g. sometimes the right-aligned text should be clipped first (because it's just a hint), in other cases it should be left untouched (like current code explicitly does it for shortcuts). Removes the `UI_BUT_HAS_SHORTCUT` flag, which isn't needed anymore. |
Revision fcc844f by Brecht Van Lommel June 15, 2021, 15:28 (GMT) |
BLI: use explicit task isolation, no longer part of parallel operations After looking into task isolation issues with Sergey, we couldn't find the reason behind the deadlocks that we are getting in T87938 and a Sprite Fright file involving motion blur renders. There is no apparent place where we adding or waiting on tasks in a task group from different isolation regions, which is what is known to cause problems. Yet it still hangs. Either we do not understand some limitation of TBB isolation, or there is a bug in TBB, but we could not figure it out. Instead the idea is to use isolation only where we know we need it: when holding a mutex lock and then doing some multithreaded operation within that locked region. Three places where we do this now: * Generated images * Cached BVH tree building * OpenVDB lazy grid loading Compared to the more automatic approach previously used, there is the downside that it is easy to miss places where we need isolation. Yet doing it more automatically is also causing unexpected issue and bugs that we found no solution for, so this seems better. Patch implemented by Sergey and me. Differential Revision: https://developer.blender.org/D11603 |
Revision b3f0dc2 by Germano Cavalcante June 15, 2021, 14:45 (GMT) |
Draw Cache: avoid recalculating 'poly_normals' Call `BKE_mesh_ensure_normals_for_display` to avoid recalculating poly_normals. **Benchmark** ||master:|PATCH: |---|---|---| |looptris_test:|Average: 3.995076 FPS|Average: 4.047470 FPS ||rdata 11ms iter 91ms (frame 235ms)|rdata 11ms iter 86ms (frame 233ms) |subdiv_mesh_cage_and_final:|Average: 1.884492 FPS|Average: 1.900114 FPS ||rdata 7ms iter 42ms (frame 268ms)|rdata 7ms iter 39ms (frame 265ms) ||rdata 7ms iter 44ms (frame 259ms)|rdata 7ms iter 42ms (frame 257ms) |subdiv_mesh_final_only:|Average: 6.245944 FPS|Average: 6.289000 FPS ||rdata 3ms iter 23ms (frame 153ms)|rdata 3ms iter 21ms (frame 154ms) |subdiv_mesh_final_only_ledge:|Average: 6.263482 FPS|Average: 6.187218 FPS ||rdata 3ms iter 23ms (frame 156ms)|rdata 3ms iter 22ms (frame 154ms) Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11527 |
Revision 0c75a98 by Campbell Barton June 15, 2021, 14:08 (GMT) |
CMake: disable TBB when not found |
Revision 7199792 by Campbell Barton June 15, 2021, 14:08 (GMT) |
Cleanup: use back-slash for doxygen comments |
Revision 174ed69 by Jeroen Bakker June 15, 2021, 13:31 (GMT) |
DrawManager: Cache material offsets. When using multiple materials in a single mesh the most time is spend in counting the offsets of each material for the sorting. This patch moves the counting of the offsets to render mesh data and caches it as long as the geometry doesn't change. This patch doesn't include multithreading of this code. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D11612 |
Revision 7c8b9c7 by Germano Cavalcante June 15, 2021, 12:57 (GMT) |
Fix warning treated as an error "void' function returning a value". |
Revision 62906cd by Jeroen Bakker June 15, 2021, 10:34 (GMT) |
Cleanup: Added hierarchy in MeshBufferExtractionCache. |
Revision 7f570a7 by Jeroen Bakker June 15, 2021, 09:39 (GMT) |
Cleanup: Split mesh_render_data_loose_geom into multiple functions. |
Revision 9cd2e80 by Jacques Lucke June 15, 2021, 08:26 (GMT) |
Fix: wrong size check This fixes a bad mistake by myself. Thanks Lukas T�nne for telling me. |
|