diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-09-18 22:10:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 22:10:30 +0200 |
| commit | 4fc95d646dbbe71744fb4e02ca0e995b652bffe5 (patch) | |
| tree | d2cfad68788de39712289d3e5aab54ebb20ef22e /src/Compositor.cpp | |
| parent | 91f592a87509436dc6f6ea7b3d6705ed7c5af046 (diff) | |
renderer: asynchronously load background tex (#11749)
Bumps required hyprgraphics to 0.1.6
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<CEventManager>(); + + Debug::log(LOG, "Creating the AsyncResourceGatherer!"); + g_pAsyncResourceGatherer = makeUnique<Hyprgraphics::CAsyncResourceGatherer>(); } break; case STAGE_BASICINIT: { Debug::log(LOG, "Creating the CHyprOpenGLImpl!"); |
