diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-03-24 19:23:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-24 19:23:16 +0000 |
| commit | a80f8f257f05480a3a91e9da14715cb160ed2e0a (patch) | |
| tree | 6b81c6bdb87b3f472a88224b67b0576d84e8ad99 /src/debug/HyprDebugOverlay.hpp | |
| parent | b3a70b565e67ebf00bcf4ecbae54fc96e527828e (diff) | |
Feat: Introduce render_ahead_of_time (#1863)
Diffstat (limited to 'src/debug/HyprDebugOverlay.hpp')
| -rw-r--r-- | src/debug/HyprDebugOverlay.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug/HyprDebugOverlay.hpp b/src/debug/HyprDebugOverlay.hpp index 67f188d2..03027018 100644 --- a/src/debug/HyprDebugOverlay.hpp +++ b/src/debug/HyprDebugOverlay.hpp @@ -7,6 +7,8 @@ #include <cairo/cairo.h> #include <unordered_map> +class CHyprRenderer; + class CHyprMonitorDebugOverlay { public: int draw(int offset); @@ -23,6 +25,8 @@ class CHyprMonitorDebugOverlay { std::chrono::high_resolution_clock::time_point m_tpLastFrame; CMonitor* m_pMonitor = nullptr; wlr_box m_wbLastDrawnBox; + + friend class CHyprRenderer; }; class CHyprDebugOverlay { @@ -41,6 +45,7 @@ class CHyprDebugOverlay { CTexture m_tTexture; friend class CHyprMonitorDebugOverlay; + friend class CHyprRenderer; }; inline std::unique_ptr<CHyprDebugOverlay> g_pDebugOverlay;
\ No newline at end of file |
