Blender
V3.3
|
#include "BLI_sys_types.h"
Go to the source code of this file.
Macros | |
#define | GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation" |
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.
#define GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation" |
Definition at line 18 of 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 42 of file gpu_debug.cc.
References BLI_snprintf_rlen(), blender::gpu::Context::debug_stack, blender::gpu::Context::get(), len, 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 21 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(), external_draw_scene_do_image(), gpu_select_pick_begin(), gpu_select_query_begin(), GPU_shader_create_from_info(), wm_draw_window_offscreen(), and wm_draw_window_onscreen().
Definition at line 32 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(), external_draw_scene_do_image(), gpu_select_pick_end(), gpu_select_query_end(), GPU_shader_create_from_info(), wm_draw_window_offscreen(), and wm_draw_window_onscreen().
bool GPU_debug_group_match | ( | const char * | ref | ) |
Return true if inside a debug group with the same name.
Definition at line 60 of file gpu_debug.cc.
References BLI_assert, blender::gpu::Context::debug_stack, G, G_DEBUG_GPU, and blender::gpu::Context::get().
Referenced by blender::gpu::debug::debug_callback().