nCine 2025.12.r529-30f7d03
A cross-platform 2D game engine
Loading...
Searching...
No Matches
tracy_opengl.h
1#if (defined(WITH_TRACY) || NCINE_WITH_TRACY) && \
2 !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
3
4 #include "tracy/TracyOpenGL.hpp"
5
6#else
7
8 #include "tracy.h"
9
10 #define TracyGpuContext
11 #define TracyGpuContextName(x, y)
12 #define TracyGpuNamedZone(x, y, z)
13 #define TracyGpuNamedZoneC(x, y, z, w)
14 #define TracyGpuZone(x)
15 #define TracyGpuZoneC(x, y)
16 #define TracyGpuZoneTransient(x, y, z)
17 #define TracyGpuCollect
18
19 #define TracyGpuNamedZoneS(x, y, z, w)
20 #define TracyGpuNamedZoneCS(x, y, z, w, a)
21 #define TracyGpuZoneS(x, y)
22 #define TracyGpuZoneCS(x, y, z)
23 #define TracyGpuZoneTransientS(x, y, z, w)
24
25namespace tracy {
26
27struct SourceLocationData;
29{
30 public:
31 GpuCtxScope(const SourceLocationData *, bool) {}
32 GpuCtxScope(const SourceLocationData *, int, bool) {}
33};
34
35}
36
37#endif
Definition tracy_opengl.h:29