Blender V4.3
deg_debug.h File Reference

Go to the source code of this file.

Classes

class  blender::deg::DepsgraphDebug
 

Namespaces

namespace  blender
 
namespace  blender::deg
 

Macros

#define DEG_DEBUG_PRINTF(depsgraph, type, ...)
 
#define DEG_GLOBAL_DEBUG_PRINTF(type, ...)
 
#define DEG_ERROR_PRINTF(...)
 

Functions

bool blender::deg::terminal_do_color ()
 
string blender::deg::color_for_pointer (const void *pointer)
 
string blender::deg::color_end ()
 

Macro Definition Documentation

◆ DEG_DEBUG_PRINTF

#define DEG_DEBUG_PRINTF ( depsgraph,
type,
... )
Value:
do { \
if (DEG_debug_flags_get(depsgraph) & G_DEBUG_DEPSGRAPH_##type) { \
DEG_debug_print_begin(depsgraph); \
fprintf(stdout, __VA_ARGS__); \
} \
} while (0)
int DEG_debug_flags_get(const Depsgraph *depsgraph)
const Depsgraph * depsgraph

Definition at line 45 of file deg_debug.h.

Referenced by blender::deg::DepsgraphRelationBuilder::add_operation_relation(), blender::deg::DepsgraphRelationBuilder::add_time_relation(), blender::deg::DepsgraphRelationBuilder::build_ik_pose(), blender::deg::deg_graph_remove_unused_noops(), DEG_graph_tag_relations_update(), and blender::deg::deg_graph_transitive_reduction().

◆ DEG_ERROR_PRINTF

#define DEG_ERROR_PRINTF ( ...)
Value:
do { \
fprintf(stderr, __VA_ARGS__); \
fflush(stderr); \
} while (0)

Definition at line 60 of file deg_debug.h.

◆ DEG_GLOBAL_DEBUG_PRINTF

#define DEG_GLOBAL_DEBUG_PRINTF ( type,
... )
Value:
do { \
if (G.debug & G_DEBUG_DEPSGRAPH_##type) { \
fprintf(stdout, __VA_ARGS__); \
} \
} while (0)
#define G(x, y, z)

Definition at line 53 of file deg_debug.h.

Referenced by DEG_relations_tag_update().