Blender  V3.3
Classes | Namespaces | Macros | Functions
deg_debug.h File Reference
#include "intern/debug/deg_time_average.h"
#include "intern/depsgraph_type.h"
#include "BKE_global.h"
#include "DEG_depsgraph_debug.h"

Go to the source code of this file.

Classes

class  blender::deg::DepsgraphDebug
 

Namespaces

 blender
 
 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 struct Depsgraph *depsgraph)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
const Depsgraph * depsgraph

Definition at line 51 of file deg_debug.h.

◆ DEG_ERROR_PRINTF

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

Definition at line 66 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 59 of file deg_debug.h.