summaryrefslogtreecommitdiff
path: root/Runtime/Profiler
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-24 13:24:13 +0800
committerchai <chaifix@163.com>2021-10-24 13:24:13 +0800
commit3239ba18797b1aa098056aa0c2a70e250a27a06c (patch)
treecb42710213cd188dd5f7c7841693c9ebe1b1915a /Runtime/Profiler
parent7bf672fd0c6211909d94078b448032b1bd0916ef (diff)
* port shader
Diffstat (limited to 'Runtime/Profiler')
-rw-r--r--Runtime/Profiler/FrameStats.h29
-rw-r--r--Runtime/Profiler/Profiler.h0
2 files changed, 0 insertions, 29 deletions
diff --git a/Runtime/Profiler/FrameStats.h b/Runtime/Profiler/FrameStats.h
deleted file mode 100644
index b3073d5..0000000
--- a/Runtime/Profiler/FrameStats.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef FRAME_STATS_H
-#define FRAME_STATS_H
-
-#include "../Utilities/Singleton.h"
-#include "../Utilities/UtilMacros.h"
-#include "../Utilities/Type.h"
-
-class FrameStats : public Singleton<FrameStats>
-{
-public:
- void OnBeginFrame();
- void OnEndFrame();
-
- void AddDrawCall(uint n = 1);
- void AddTrianglesCount(uint n = 1);
-
- GET(uint, DrawCall, m_DrawCall);
- GET(uint, TrianglesCount, m_TrianglesCount);
-
-private:
-
- uint m_DrawCall;
- uint m_TrianglesCount;
-
-};
-
-#define g_FrameStats (*FrameStats::Instance())
-
-#endif \ No newline at end of file
diff --git a/Runtime/Profiler/Profiler.h b/Runtime/Profiler/Profiler.h
deleted file mode 100644
index e69de29..0000000
--- a/Runtime/Profiler/Profiler.h
+++ /dev/null