Blender Git Commits

Blender Git "depsgraph_cleanup" branch commits.

Page: 2 / 3

May 26, 2016, 07:46 (GMT)
Depsgraph: Move graphviz debugger to own file

We might want to add more debugging methods, so makes sense to have
dedicated folder for all of them.
May 26, 2016, 07:33 (GMT)
Depsgraph: Don't use capital prefix for non-public functions
May 26, 2016, 07:18 (GMT)
Depsgraph: Wrap everything into DEG namespace

Some areas are nto so pretty looking atm, but there are not so much
of them for now. And we can easily solve that by making it so public
API simply calls an inlined function from DEG namespace.
May 25, 2016, 21:05 (GMT)
Depsgraph: Remove unused code from debugger

Would be cool to stick to a policy that dead code is forbidden.

Those areas were not changed or touched in ages, we'll still have
the code in Git history but can get rid in real sources.
May 25, 2016, 20:02 (GMT)
Depsgraph: Move nodes declaration and definition to own directory

The idea is to also split some files and make it more granular in
order to increase readability and maintainability.
May 25, 2016, 15:46 (GMT)
Depsgraph: Remove unused node copying routines

Once again, was never used, tested or anything.

Even had asserts to prevent from from use.
May 25, 2016, 15:39 (GMT)
Depsgraph: Move opcodes to depsgraph_types.h file

No real reason to have a dedicated file for just opcodes.
May 25, 2016, 15:33 (GMT)
Depsgraph: Remove old, dead and unused query routines

This API was never finished, used or tested.

Surely it's something we'll need to have, but for now it's easier to remove
all the complexity and other craft.

Better to bring it back when we'll actually be using it.
May 25, 2016, 15:28 (GMT)
Depsgraph: Remove unused includes
May 25, 2016, 15:25 (GMT)
Depsgraph: Move clear update tags function to eval

It's not really a flush part of evaluation, but close enough.

No need to keep in a public API anyway.
May 25, 2016, 15:22 (GMT)
Depsgraph: Fix compilation error in debug mode
May 25, 2016, 15:17 (GMT)
Depsgraph: Move update tag flushing to eval folder

Those are mainly used by evaluation, so makes sense to have it there.
May 25, 2016, 14:56 (GMT)
Depsgraph: Move evaluation type of debugger to eval folder
May 25, 2016, 14:42 (GMT)
Depsgraph: Comment out debugger for now

It was querying for the time on each of the node updates,
which is 100s of times per armature. Better not to do it
for the official builds.
May 25, 2016, 14:38 (GMT)
Depsgraph: Move evaluation files into own folder
May 25, 2016, 14:16 (GMT)
Depsgraph: Move some of the utilities to DEG namespace
May 25, 2016, 14:00 (GMT)
Depsgraph: Move builders to own sub-folder

Also split builder declaration file.

The idea is to split files into smaller ones, optionally moving
heavy and tricky builder parts into own files, for example we can
add deg_builder_relations_rig.cc, deg_builder_relations_proxy.cc
and so on.

Also started moving depsgraph into DEG namespace. With all the
complexity over code being added to blender now it should make it
easier to avoid name conflicts and such.
May 25, 2016, 13:18 (GMT)
Depsgraph: Use proper type for opcode
May 25, 2016, 13:14 (GMT)
Depsgraph: Avoid generated enums

Those are rather confusing for the debugging purposes, not being
able to quickly see values, where the thing came from and so on.
May 25, 2016, 12:47 (GMT)
Depsgraph: Use pragma once guider for the internal header files

Our compilers supports it now, using it will be easier when adding new files.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021