summaryrefslogtreecommitdiff
path: root/src/debug/HyprDebugOverlay.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 17:40:57 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 17:40:57 +0200
commit7d442d48514e62a41e5bad0176adb8428dd112b3 (patch)
tree6e327af07b01a1e089e5d495bb697d4c4578a1da /src/debug/HyprDebugOverlay.hpp
parent8c10857f14e6c91f3b3099b9508e1f4d68c2d276 (diff)
Added rendertime no overlay
Diffstat (limited to 'src/debug/HyprDebugOverlay.hpp')
-rw-r--r--src/debug/HyprDebugOverlay.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug/HyprDebugOverlay.hpp b/src/debug/HyprDebugOverlay.hpp
index aa476bf7..8899ab15 100644
--- a/src/debug/HyprDebugOverlay.hpp
+++ b/src/debug/HyprDebugOverlay.hpp
@@ -12,11 +12,13 @@ public:
int draw(int offset);
void renderData(SMonitor* pMonitor, float µs);
+ void renderDataNoOverlay(SMonitor* pMonitor, float µs);
void frameData(SMonitor* pMonitor);
private:
std::deque<float> m_dLastFrametimes;
std::deque<float> m_dLastRenderTimes;
+ std::deque<float> m_dLastRenderTimesNoOverlay;
std::chrono::high_resolution_clock::time_point m_tpLastFrame;
SMonitor* m_pMonitor = nullptr;
wlr_box m_wbLastDrawnBox;
@@ -27,6 +29,7 @@ public:
void draw();
void renderData(SMonitor*, float µs);
+ void renderDataNoOverlay(SMonitor*, float µs);
void frameData(SMonitor*);
private: