Blender  V2.93
Functions
GPU_debug.h File Reference
#include "BLI_sys_types.h"

Go to the source code of this file.

Functions

void GPU_debug_group_begin (const char *name)
 
void GPU_debug_group_end (void)
 
void GPU_debug_get_groups_names (int name_buf_len, char *r_name_buf)
 
bool GPU_debug_group_match (const char *ref)
 

Detailed Description

Helpers for GPU / drawing debugging.

Definition in file GPU_debug.h.

Function Documentation

◆ GPU_debug_get_groups_names()

void GPU_debug_get_groups_names ( int  name_buf_len,
char *  r_name_buf 
)

Return a formatted string showing the current group hierarchy in this format: "Group1 > Group 2 > Group3 > ... > GroupN : "

Definition at line 62 of file gpu_debug.cc.

References BLI_snprintf_rlen(), blender::gpu::Context::debug_stack, blender::gpu::Context::get(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().

Referenced by blender::gpu::debug::debug_callback().

◆ GPU_debug_group_begin()

void GPU_debug_group_begin ( const char *  name)

◆ GPU_debug_group_end()

void GPU_debug_group_end ( void  )

◆ GPU_debug_group_match()

bool GPU_debug_group_match ( const char *  ref)