34 const bool is_single_value)
68 tree_logger.
log_value(output_socket->owner_node(), *output_socket,
result.single_value());
90 if (!output_socket->is_logically_linked()) {
97 output_socket->index(),
98 get_image_info_log(tree_logger.allocator, domain, this->context().get_precision())});
114 if (!input_socket->is_logically_linked() && input_descriptor.
implicit_input.has_value()) {
126 input_socket->index(),
127 get_image_info_log(tree_logger.allocator, domain, this->context().get_precision())});
131 if (!input_socket->is_logically_linked()) {
137 const bNodeSocket &linked_output = *input_socket->logically_linked_sockets()[0];
153 input_socket->index(),
154 get_image_info_log(tree_logger.allocator, domain, this->context().get_precision())});
162 {output->owner_node().identifier, preview});
195 const std::string identifier = item.value;
destruct_ptr< T > construct(Args &&...args)
const Value & lookup(const Key &key) const
bool contains(const Key &key) const
virtual nodes::eval_log::NodesEvalLog * nodes_evaluation_log() const
RealizationOptions realization_options
Result & get_result_from_output_socket(const bNodeSocket &output)
PixelCompileUnit & pixel_compile_unit()
const Schedule & schedule()
Result & get_result(StringRef identifier)
Operation(Context &context)
Context & context() const
Result & get_input(StringRef identifier) const
virtual Domain compute_domain()
Map< ImplicitInputType, std::string > implicit_inputs_to_input_identifiers_map_
VectorSet< const bNodeSocket * > preview_outputs_
Map< ImplicitInputType, std::string > & get_implicit_inputs_to_input_identifiers_map()
StringRef get_output_identifier_from_output_socket(const bNodeSocket &output_socket)
Map< std::string, const bNodeSocket * > inputs_to_linked_outputs_map_
NodeTreeEvaluator & node_tree_evaluator_
Map< const bNodeSocket *, std::string > output_sockets_to_output_identifiers_map_
VectorSet< const bNodeSocket * > logged_outputs_
Map< std::string, int > inputs_to_reference_counts_map_
const ComputeContext & compute_context_
int get_internal_input_reference_count(const StringRef &identifier)
PixelOperation(Context &context, NodeTreeEvaluator &node_tree_evaluator, const ComputeContext &compute_context, const bool is_single_value)
Map< std::string, const bNodeSocket * > & get_inputs_to_linked_outputs_map()
void compute_results_reference_counts(const Schedule &schedule)
const bool is_single_value_
bool is_single_value() const
GPointer single_value() const
void set_reference_count(int count)
linear_allocator::ChunkedList< SocketValueLog, 16 > input_socket_values
linear_allocator::ChunkedList< NodeImagePreview, 16 > node_image_previews
LinearAllocator * allocator
linear_allocator::ChunkedList< SocketValueLog, 16 > output_socket_values
void log_value(const bNode &node, const bNodeSocket &socket, GPointer value)
int compute_output_reference_count(const bNodeSocket &output, const Schedule &schedule, const VectorSet< const bNode * > *ignored_nodes=nullptr)
StringRefNull to_string(const Interpolation &interpolation)
ImBuf * compute_preview(Context &context, const Result &input)
static destruct_ptr< nodes::eval_log::ImageInfoLog > get_image_info_log(LinearAllocator<> *allocator, const Domain &domain, const ResultPrecision &precision)
InputDescriptor input_descriptor_from_input_socket(const bNodeSocket *socket)
bool is_socket_available(const bNodeSocket *socket)
std::unique_ptr< T, DestructValueAtAddress< T > > destruct_ptr
Interpolation interpolation
Set< const bNodeSocket * > unneeded_inputs