From 7c76bdca1b7195720a769c4911678d85825907fe Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 20:01:47 +1100 Subject: Cleanup: move public doc-strings into headers for 'gpu' Ref T92709 --- source/blender/gpu/GPU_debug.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/blender/gpu/GPU_debug.h') diff --git a/source/blender/gpu/GPU_debug.h b/source/blender/gpu/GPU_debug.h index f67e850ad80..9796ac63272 100644 --- a/source/blender/gpu/GPU_debug.h +++ b/source/blender/gpu/GPU_debug.h @@ -33,7 +33,14 @@ extern "C" { void GPU_debug_group_begin(const char *name); void GPU_debug_group_end(void); +/** + * Return a formatted string showing the current group hierarchy in this format: + * "Group1 > Group 2 > Group3 > ... > GroupN : " + */ void GPU_debug_get_groups_names(int name_buf_len, char *r_name_buf); +/** + * Return true if inside a debug group with the same name. + */ bool GPU_debug_group_match(const char *ref); #ifdef __cplusplus -- cgit v1.2.3