|
Blender
V2.93
|
#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) |
Helpers for GPU / drawing debugging.
Definition in file GPU_debug.h.
| 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().
| void GPU_debug_group_begin | ( | const char * | name | ) |
Definition at line 37 of file gpu_debug.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::gpu::Context::debug_group_begin(), blender::gpu::Context::debug_stack, G, G_DEBUG_GPU, blender::gpu::Context::get(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by DRW_stats_group_start(), DRW_stats_query_start(), gpu_select_pick_begin(), gpu_select_query_begin(), wm_draw_window_offscreen(), and wm_draw_window_onscreen().
| void GPU_debug_group_end | ( | void | ) |
Definition at line 48 of file gpu_debug.cc.
References blender::gpu::Context::debug_group_end(), blender::gpu::Context::debug_stack, G, G_DEBUG_GPU, blender::gpu::Context::get(), and blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last().
Referenced by DRW_stats_group_end(), DRW_stats_query_end(), gpu_select_pick_end(), gpu_select_query_end(), wm_draw_window_offscreen(), and wm_draw_window_onscreen().
| bool GPU_debug_group_match | ( | const char * | ref | ) |
Definition at line 81 of file gpu_debug.cc.
References BLI_assert, blender::gpu::Context::debug_stack, G, G_DEBUG_GPU, and blender::gpu::Context::get().