Blender  V3.3
GPU_debug.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2020 Blender Foundation. All rights reserved. */
3 
10 #pragma once
11 
12 #include "BLI_sys_types.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #define GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation"
19 
20 void GPU_debug_group_begin(const char *name);
21 void GPU_debug_group_end(void);
26 void GPU_debug_get_groups_names(int name_buf_len, char *r_name_buf);
30 bool GPU_debug_group_match(const char *ref);
31 
32 #ifdef __cplusplus
33 }
34 #endif
bool GPU_debug_group_match(const char *ref)
Definition: gpu_debug.cc:60
void GPU_debug_group_end(void)
Definition: gpu_debug.cc:32
void GPU_debug_group_begin(const char *name)
Definition: gpu_debug.cc:21
void GPU_debug_get_groups_names(int name_buf_len, char *r_name_buf)
Definition: gpu_debug.cc:42