From 4fc95d646dbbe71744fb4e02ca0e995b652bffe5 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:10:30 +0200 Subject: renderer: asynchronously load background tex (#11749) Bumps required hyprgraphics to 0.1.6 --------- Co-authored-by: Mihai Fufezan --- src/Compositor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index c298c37d..ce549459 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -59,6 +59,7 @@ #include "managers/HookSystemManager.hpp" #include "managers/ProtocolManager.hpp" #include "managers/LayoutManager.hpp" +#include "render/AsyncResourceGatherer.hpp" #include "plugins/PluginSystem.hpp" #include "hyprerror/HyprError.hpp" #include "debug/HyprNotificationOverlay.hpp" @@ -605,6 +606,7 @@ void CCompositor::cleanup() { g_pDonationNagManager.reset(); g_pANRManager.reset(); g_pConfigWatcher.reset(); + g_pAsyncResourceGatherer.reset(); if (m_aqBackend) m_aqBackend.reset(); @@ -655,6 +657,9 @@ void CCompositor::initManagers(eManagersInitStage stage) { Debug::log(LOG, "Creating the EventManager!"); g_pEventManager = makeUnique(); + + Debug::log(LOG, "Creating the AsyncResourceGatherer!"); + g_pAsyncResourceGatherer = makeUnique(); } break; case STAGE_BASICINIT: { Debug::log(LOG, "Creating the CHyprOpenGLImpl!"); -- cgit v1.2.3