Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/GPU_debug.h')
-rw-r--r--source/blender/gpu/GPU_debug.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_debug.h b/source/blender/gpu/GPU_debug.h
index 09dc02c0fc6..f67e850ad80 100644
--- a/source/blender/gpu/GPU_debug.h
+++ b/source/blender/gpu/GPU_debug.h
@@ -13,22 +13,28 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * The Original Code is Copyright (C) 2005 Blender Foundation.
+ * The Original Code is Copyright (C) 2020 Blender Foundation.
* All rights reserved.
*/
/** \file
* \ingroup gpu
+ *
+ * Helpers for GPU / drawing debugging.
*/
#pragma once
+#include "BLI_sys_types.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-/* prints something if debug mode is active only */
-void GPU_print_error_debug(const char *str);
+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);
#ifdef __cplusplus
}