193 std::variant<const bke::bNodeSocketType *, StringRefNull>
type;
225 const std::optional<ClosureSourceLocation> &source_location,
226 std::shared_ptr<ClosureEvalLog>
eval_log);
240 mutable CacheMutex main_geometry_cache_mutex_;
241 mutable std::optional<bke::GeometrySet> main_geometry_cache_;
289using Clock = std::chrono::steady_clock;
404 NodesEvalLog *root_log_;
407 bool reduced_node_warnings_ =
false;
408 bool reduced_execution_times_ =
false;
409 bool reduced_socket_values_ =
false;
410 bool reduced_viewer_node_logs_ =
false;
411 bool reduced_existing_attributes_ =
false;
412 bool reduced_used_named_attributes_ =
false;
413 bool reduced_debug_messages_ =
false;
414 bool reduced_evaluated_gizmo_nodes_ =
false;
415 bool reduced_layer_names_ =
false;
416 bool reduced_node_image_previews_ =
false;
static const CPPType & get()
GeometryInfoLog(const bke::GeometrySet &geometry_set)
NodeTreeLog(NodesEvalLog *root_log, Vector< NodeTreeLogger * > tree_loggers)
BundleValueLog(Vector< Item > items)
std::shared_ptr< ClosureEvalLog > eval_log
ClosureValueLog(Vector< Item > inputs, Vector< Item > outputs, const std::optional< ClosureSourceLocation > &source_location, std::shared_ptr< ClosureEvalLog > eval_log)
std::optional< Source > source
NodeTreeLog * get_main_tree_log(const bke::bNodeTreeZone *zone) const
ContextualNodeTreeLogs(Map< const bke::bNodeTreeZone *, NodeTreeLog * > tree_logs_by_zone={})
void foreach_tree_log(FunctionRef< void(NodeTreeLog &)> callback) const
Vector< std::string > input_tooltips
FieldInfoLog(const GField &field)
GenericValueLog(const GMutablePointer value)
std::optional< MeshInfo > mesh_info
std::optional< GreasePencilInfo > grease_pencil_info
GeometryInfoLog(const bke::GeometrySet &geometry_set)
std::optional< VolumeInfo > volume_info
std::optional< CurveInfo > curve_info
std::optional< PointCloudInfo > pointcloud_info
Vector< bke::GeometryComponent::Type > component_types
Vector< GeometryAttributeInfo > attributes
std::optional< EditDataInfo > edit_data_info
std::optional< InstancesInfo > instances_info
GridInfoLog(const bke::GVolumeGrid &grid)
const StringRefNull extension_x
const StringRefNull interpolation
ImageInfoLog(int2 data_size, int2 display_size, int2 data_offset, float3x3 transformation, StringRefNull interpolation, StringRefNull extension_x, StringRefNull extension_y, StringRefNull precision)
const StringRefNull precision
const float3x3 transformation
const StringRefNull extension_y
ListInfoLog(const GListPtr &list)
Map< StringRefNull, NamedAttributeUsage > used_named_attributes
std::chrono::nanoseconds execution_time
VectorSet< NodeWarning > warnings
Map< int, ValueLog * > output_values_
Map< int, ValueLog * > input_values_
Vector< StringRefNull > debug_messages
Vector< std::string > all_layer_names
void ensure_node_image_previews()
Set< int > evaluated_gizmo_nodes
std::chrono::nanoseconds execution_time
Map< int32_t, destruct_ptr< NodeLog > > nodes
void ensure_node_warnings(const NodesModifierData &nmd)
std::optional< T > find_primitive_socket_value(const bNodeSocket &query_socket)
void ensure_debug_messages()
Map< int32_t, ViewerNodeLog *, 0 > viewer_node_logs
void ensure_execution_times()
NodeLog & lookup_or_add_node_log(const int32_t identifier)
Vector< const GeometryAttributeInfo * > existing_attributes
void ensure_evaluated_gizmo_nodes()
NodeTreeLog(NodesEvalLog *root_log, Vector< NodeTreeLogger * > tree_loggers)
void ensure_viewer_node_logs()
VectorSet< NodeWarning > all_warnings
void ensure_existing_attributes()
void ensure_used_named_attributes()
Map< StringRefNull, NamedAttributeUsage > used_named_attributes
NodeLog * find_node_log(int32_t identifier) const
void ensure_layer_names()
void ensure_socket_values()
bool try_convert_primitive_socket_value(const GenericValueLog &value_log, const CPPType &dst_type, void *dst)
ValueLog * find_socket_value_log(const bNodeSocket &query_socket)
linear_allocator::ChunkedList< ViewerNodeLogWithNode > viewer_node_logs
linear_allocator::ChunkedList< SocketValueLog, 16 > input_socket_values
std::optional< ComputeContextHash > parent_hash
linear_allocator::ChunkedList< NodeImagePreview, 16 > node_image_previews
LinearAllocator * allocator
linear_allocator::ChunkedList< DebugMessage > debug_messages
Vector< ComputeContextHash > children_hashes
linear_allocator::ChunkedList< WarningWithNode > node_warnings
linear_allocator::ChunkedList< NodeExecutionTime, 16 > node_execution_times
linear_allocator::ChunkedList< SocketValueLog, 16 > output_socket_values
linear_allocator::ChunkedList< EvaluatedGizmoNode > evaluated_gizmo_nodes
std::optional< uint32_t > tree_orig_session_uid
void log_value(const bNode &node, const bNodeSocket &socket, GPointer value)
linear_allocator::ChunkedList< AttributeUsageWithNode > used_named_attributes
std::optional< int32_t > parent_node_id
std::chrono::nanoseconds execution_time
NodeTreeLogger & get_local_tree_logger(const ComputeContext &compute_context)
static ContextualNodeTreeLogs get_contextual_tree_logs(const SpaceNode &snode)
static Map< const bke::bNodeTreeZone *, ComputeContextHash > get_context_hash_by_zone_for_node_editor(const SpaceNode &snode, bke::ComputeContextCache &compute_context_cache)
NodeTreeLog & get_tree_log(const ComputeContextHash &compute_context_hash)
static const ViewerNodeLog * find_viewer_node_log_for_path(const ViewerPath &viewer_path)
virtual ~ValueLog()=default
const bke::GeometrySet * main_geometry() const
CustomIDVectorSet< Item, ItemIdentifierGetter > items
ENUM_OPERATORS(NamedAttributeUsage)
std::chrono::steady_clock Clock
Clock::time_point TimePoint
std::unique_ptr< T, DestructValueAtAddress< T > > destruct_ptr
VecBase< int32_t, 2 > int2
VectorSet< T, InlineBufferCapacity, DefaultProbingStrategy, CustomIDHash< T, GetIDFn >, CustomIDEqual< T, GetIDFn > > CustomIDVectorSet
MatBase< float, 3, 3 > float3x3
std::variant< const bke::bNodeSocketType *, StringRefNull > type
const bke::bNodeSocketType * type
int closure_output_node_id
ComputeContextHash compute_context_hash
uint32_t orig_node_tree_session_uid
std::optional< bke::AttrType > data_type
std::optional< bke::AttrDomain > domain
bool has_deformed_positions
Vector< std::string > layer_names
Vector< VolumeGridInfo > grids
NamedAttributeUsage usage
StringRefNull attribute_name
destruct_ptr< ValueLog > value
destruct_ptr< ViewerNodeLog > viewer_log
StringLog(StringRef string, LinearAllocator<> &allocator)
int operator()(const Item &item) const
bke::SocketValueVariant value