1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Hide rest of statics.

This commit is contained in:
Bartosz Taudul
2019-02-19 19:33:37 +01:00
parent 9fabafbeca
commit 3f914834b7
8 changed files with 112 additions and 132 deletions
+12 -9
View File
@@ -40,9 +40,21 @@
namespace tracy
{
class GpuCtx;
class Profiler;
class Socket;
struct GpuCtxWrapper
{
GpuCtx* ptr;
};
moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken();
Profiler& GetProfiler();
std::atomic<uint32_t>& GetLockCounter();
std::atomic<uint8_t>& GetGpuCtxCounter();
GpuCtxWrapper& GetGpuCtx();
struct SourceLocationData
{
const char* name;
@@ -52,15 +64,6 @@ struct SourceLocationData
uint32_t color;
};
moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken();
Profiler& GetProfiler();
class GpuCtx;
struct GpuCtxWrapper
{
GpuCtx* ptr;
};
#ifdef TRACY_ON_DEMAND
struct LuaZoneState
{