From b5ea887f072fa055cf23ec389ed81e3ee4c5319a Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 16 Apr 2026 19:47:53 +0100 Subject: debug/overlay: optimize rendering, cleanup and nicetify (#14097) optimizes the rendering, drops direct cairo, fixes up api. Also improves the visuals etc of the overlay --- src/Compositor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index a5826d19..d9de5195 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -74,7 +74,7 @@ #include "plugins/PluginSystem.hpp" #include "hyprerror/HyprError.hpp" #include "notification/NotificationOverlay.hpp" -#include "debug/HyprDebugOverlay.hpp" +#include "debug/Overlay.hpp" #include "helpers/MonitorFrameScheduler.hpp" #include "i18n/Engine.hpp" #include "layout/LayoutManager.hpp" @@ -591,7 +591,7 @@ void CCompositor::cleanup() { g_pCursorManager.reset(); g_pPluginSystem.reset(); Notification::overlay().reset(); - g_pDebugOverlay.reset(); + Debug::overlay().reset(); g_pEventManager.reset(); g_pSessionLockManager.reset(); g_pHyprRenderer.reset(); @@ -694,8 +694,8 @@ void CCompositor::initManagers(eManagersInitStage stage) { Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!"); g_pSessionLockManager = makeUnique(); - Log::logger->log(Log::DEBUG, "Creating the HyprDebugOverlay!"); - g_pDebugOverlay = makeUnique(); + Log::logger->log(Log::DEBUG, "Creating the Debug Overlay!"); + Debug::overlay(); Log::logger->log(Log::DEBUG, "Creating the NotificationOverlay!"); Notification::overlay(); -- cgit v1.2.3