Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5611 / 8462

March 12, 2014, 13:39 (GMT)
Node types registry - Use a GHash for now

This makes it easy when dealing with the types, which can now have arbitrary
codes given to them, instead of having to be tightly packed.

However, this may turn out to be overkill, since we only really have a few
core node types, so using an array may prove to be a better strategy overall...
March 12, 2014, 13:39 (GMT)
New node adding code fleshed out to use typeinfo
March 12, 2014, 13:39 (GMT)
Added another callback in typeinfo for handling outer-node queries
March 12, 2014, 13:39 (GMT)
Start of node typeinfo handling

* All (core) nodetype defines will now be in depsgraph_type_defines.c
* Made a few tweaks to make the API's nicer
* Still need to figure out how to define the rest
March 12, 2014, 13:39 (GMT)
Defining typeinfo for core node types, and a little API to work with these
March 12, 2014, 13:39 (GMT)
Renamed "DatablockDepsNode" to "IDDepsNode"

While the former was perhaps more descriptive (and looks slightly better),
it also feels like too much of a mouthful to use, besides not really
being that clear that it wraps an ID datablock.
March 12, 2014, 13:39 (GMT)
Draft stub for creating a group node (as necessary) during graph building
March 12, 2014, 13:39 (GMT)
Change argument types for low-level node management functions

Apparently it is not possible to simply pass on the list of arbitrary
arguments down the chain that easily (where the list grows and shrinks
according to the needs of the specific API used). So instead, always use
the full version.

Alternative here is to just have separate copies for each case?
March 12, 2014, 13:39 (GMT)
First skeletal draft of the internal node management functions

* DEG_get_node() is fully fleshed out
* DEG_add_node() and DEG_find_node() still need to be figured out...
March 12, 2014, 13:39 (GMT)
Renaming "data" mid-level outer node type

Having "MID" in the name was a bit dodgy from an API standpoint in the
long run, even if that would have made things a bit clearer as to where
it stands between the levels.
March 12, 2014, 13:39 (GMT)
Added a new header for "internal" depsgraph API functions

These are mainly functions which can be used internally within the
Depsgraph, and/or are exported between various parts of the internals
but which shouldn't really be exposed to the outside world (i.e. other
parts of Blender outside of the depsgraph module).

Will review later whether this file is really needed or whether it can
be folded into some of the other headers)
March 12, 2014, 13:39 (GMT)
Replace all DAG_add_node() calls with DAG_get_node() calls in the graph building

This is needed so that nodes that others depend on can get added ahead of
time...
March 12, 2014, 13:39 (GMT)
Noted potential problem with the way we're trying to build depsgraph nodes
March 12, 2014, 13:39 (GMT)
Fleshing out some more depsgraph building functions (skeleton for objects)
March 12, 2014, 13:39 (GMT)
Fix for incorrect comment
March 12, 2014, 13:39 (GMT)
Code reshuffling + "Root to Active" relationship type (for previous commit)
March 12, 2014, 13:39 (GMT)
Experimental fleshing out of scene building step

* Blocked out a few more steps for doing this
* Started experimenting with some of the basic API calls for the core
operations here (to get a feel for the way this works, and for adjustment
to fit better)
March 12, 2014, 13:39 (GMT)
Completing up the trio of outer node types - "Interblock" type now defined too
March 12, 2014, 13:39 (GMT)
Add flag to allow for the possibility of having a dynamically allocated name for nodes

The purpose of this flag is just to make sure we have a way of ensuring that
we don't have any memory leaks from unfreed heap names...
March 12, 2014, 13:39 (GMT)
Base node type now has a name identifier

This will mainly be used/useful when printing out nodes for debugging
purposes. The name will thus provide us with a way of easily identifying
nodes without having to resort to weird hacks to grab the relevant name...
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021