Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
tracy_gpu.h
Go to the documentation of this file.
1#ifndef TRACY_GPU_H
2#define TRACY_GPU_H
3
4#include <stdint.h> /* Ajoute cette ligne pour uint16_t et uint32_t */
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#ifdef TRACY_ENABLE
11
14void tracy_gpu_init(void);
15
18void tracy_gpu_collect(void);
19
21void tracy_gpu_screenshot(const void* data, uint16_t w, uint16_t h);
22
24void* tracy_gpu_zone_begin(const char* name, const char* function,
25 const char* file, uint32_t line, uint32_t color);
26
28void tracy_gpu_zone_end(void* ctx);
29
30#else
31
32#define tracy_gpu_init() ((void)0)
33#define tracy_gpu_collect() ((void)0)
34#define tracy_gpu_zone_begin(name, function, file, line, color) (0)
35#define tracy_gpu_zone_end(ctx) ((void)0)
36
37#endif
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif // TRACY_GPU_H
#define tracy_gpu_zone_end(ctx)
Definition tracy_gpu.h:35
#define tracy_gpu_init()
Definition tracy_gpu.h:32
#define tracy_gpu_collect()
Definition tracy_gpu.h:33
#define tracy_gpu_zone_begin(name, function, file, line, color)
Definition tracy_gpu.h:34