blender/intern/cycles/test
Kévin Dietrich 527f8b32b3 Cycles API: encapsulate Node socket members
This encapsulates Node socket members behind a set of specific methods;
as such it is no longer possible to directly access Node class members
from exporters and parts of Cycles.

The methods are defined via the NODE_SOCKET_API macros in `graph/
node.h`, and are for getting or setting a specific socket's value, as
well as querying or modifying the state of its update flag.

The setters will check whether the value has changed and tag the socket
as modified appropriately. This will let us know how a Node has changed
and what to update, which is the first concrete step toward a more
granular scene update system.

Since the setters will tag the Node sockets as modified when passed
different data, this patch also removes the various `modified` methods
on Nodes in favor of `Node::is_modified` which checks the sockets'
update flags status.

Reviewed By: brecht

Maniphest Tasks: T79174

Differential Revision: https://developer.blender.org/D8544
2020-10-26 23:11:14 +01:00
..
CMakeLists.txt Fix build error with WITH_CYCLES_NATIVE_ONLY and AVX tests on macOS 2020-10-19 17:55:00 +02:00
render_graph_finalize_test.cpp Cycles API: encapsulate Node socket members 2020-10-26 23:11:14 +01:00
util_aligned_malloc_test.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
util_avxf_avx2_test.cpp Tests: bundle tests for some modules in their own executables 2020-09-17 12:29:19 +02:00
util_avxf_avx_test.cpp Tests: bundle tests for some modules in their own executables 2020-09-17 12:29:19 +02:00
util_avxf_test.h Tests: bundle tests for some modules in their own executables 2020-09-17 12:29:19 +02:00
util_path_test.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
util_string_test.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
util_task_test.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
util_time_test.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
util_transform_test.cpp Cycles: Fix nan in decomposed transform for degenerated input 2020-08-04 11:40:09 +02:00