summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp2
-rw-r--r--src/debug/HyprDebugOverlay.hpp10
-rw-r--r--src/debug/HyprNotificationOverlay.hpp2
3 files changed, 9 insertions, 5 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index df147ee9..01e49e74 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -71,6 +71,8 @@ using namespace Hyprutils::OS;
#include "../layout/algorithm/TiledAlgorithm.hpp"
#include "../layout/supplementary/WorkspaceAlgoMatcher.hpp"
+using namespace Render::GL;
+
#if defined(__DragonFly__) || defined(__FreeBSD__)
#include <sys/ucred.h>
#define CRED_T xucred
diff --git a/src/debug/HyprDebugOverlay.hpp b/src/debug/HyprDebugOverlay.hpp
index 775ce62c..375ecc2c 100644
--- a/src/debug/HyprDebugOverlay.hpp
+++ b/src/debug/HyprDebugOverlay.hpp
@@ -6,7 +6,9 @@
#include <map>
#include <deque>
-class IHyprRenderer;
+namespace Render {
+ class IHyprRenderer;
+}
class CHyprMonitorDebugOverlay {
public:
@@ -25,7 +27,7 @@ class CHyprMonitorDebugOverlay {
PHLMONITORREF m_monitor;
CBox m_lastDrawnBox;
- friend class IHyprRenderer;
+ friend class Render::IHyprRenderer;
};
class CHyprDebugOverlay {
@@ -42,10 +44,10 @@ class CHyprDebugOverlay {
cairo_surface_t* m_cairoSurface = nullptr;
cairo_t* m_cairo = nullptr;
- SP<ITexture> m_texture;
+ SP<Render::ITexture> m_texture;
friend class CHyprMonitorDebugOverlay;
- friend class IHyprRenderer;
+ friend class Render::IHyprRenderer;
};
inline UP<CHyprDebugOverlay> g_pDebugOverlay;
diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp
index ec7aed72..c2ecbfe0 100644
--- a/src/debug/HyprNotificationOverlay.hpp
+++ b/src/debug/HyprNotificationOverlay.hpp
@@ -57,7 +57,7 @@ class CHyprNotificationOverlay {
PHLMONITORREF m_lastMonitor;
Vector2D m_lastSize = Vector2D(-1, -1);
- SP<ITexture> m_texture;
+ SP<Render::ITexture> m_texture;
};
inline UP<CHyprNotificationOverlay> g_pHyprNotificationOverlay;