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
2019-05-03Depsgraph: Remove filtering APISergey Sharybin
This was an attempt to speed up motion path calculation, which didn't really work in real world animation files, where animators already hide and disable all the heavy collections. Filtering approach also doesn't allow to have multiple frames evaluated in multiple threads easily. Filtering also adds extra complexity on keeping the graph in a correct and consistent state. Fixes T64057: Blender crash when use motion paths
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove original authorCampbell Barton
Missed when removing contributors.
2019-02-01Cleanup: Space for foreach macroSergey Sharybin
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Depsgraph: Comb code to a better state all overSergey Sharybin
Some summary of changes: - Don't use DEG prefix for types and enumerator values: the code is already inside DEG namespace. - Put code where it locally belongs to: avoid having one single header file with all sort of definitions in it. - Take advantage of modern C++11 enabled by default.
2018-11-14Depsgraph: Remove meaningless evaluation modeSergey Sharybin
With the current implementation it only confuses logic around checks like vewport/render subdivision levels. If this mode is really needed for any decision making, implement this properly.
2018-09-25despgraph: Use regular iterators for erase, fixes build error on centOSRay Molenkamp
CentOS7 ships with gcc 4.8.2 which does not support the const_iterator for erase.
2018-09-03Depsgraph: Use more meaningful name for flags storageSergey Sharybin
2018-08-23Cleanup: use static functionsCampbell Barton
2018-08-23Fix: Silence compiler warnings about size_t's in printfJoshua Leung
2018-08-23Depsgraph: Added note that the filtering function should NOT be called on a ↵Joshua Leung
filtered graph
2018-08-23Code CleanupJoshua Leung
2018-08-23Cleanup: Remove the conditional ID node removal stuff, copied from ↵Joshua Leung
clear_id_nodes() This was just randomly leaving all the Particle datablocks in the filtered graph (and causing and extra/excess pass over the ID's to get run). Unless we actually need those specially kept for some reason later, it's better to leave those out for now.
2018-08-23Cleanup: Disable some of the extra debug prints that were slowing things downJoshua Leung
2018-08-23Depsgraph Filtering: Fix ID node filtering problemsJoshua Leung
* COW data hasn't been expanded yet when we try to filter the graph (you need to have tagged + evaluated it for this data to exist), so all the offending nodes would just get left in * Added more debug prints to verify whether the id_nodes vector is getting cleared correctly
2018-08-23Depsgraph Filtering: WIP more debugging printsJoshua Leung
2018-08-23Depsgraph Filtering: Remove opnodes from entry tags tooJoshua Leung
2018-08-23Depsgraph: Fix filtering-related crashesJoshua Leung
* Simplified operation-relation deletion. Now we collect the relations to delete into a vector, then iterate through that, thus solving issues with iterator invalidation (+ aborts arising from that) * DEG_foreach_ancestor_ID() was assuming that all dependencies were OperationDepsNodes, when in fact, some could be TimeSource nodes
2018-08-23Depsgraph: Print simple stats after filtering graph, to quickly verify if ↵Joshua Leung
anything happened
2018-08-23Depsgraph: First draft of graph filtering API implementationJoshua Leung
When this works correctly, we should be able to feed in an existing depsgraph instance, and get out a "filtered" copy of it that contains only the subset of nodes needed to evaluate what we're interested in. The current implementation only filters on ID blocks/nodes, and starts by building a full new depsgraph instance first. I'd originally intended to do it per operation instead, copying over individual nodes as appropriate to have the smallest and least memory intensive graph possible. However, I ended up running into into problems with function binding + COW arguments, hence the current slow solution.