added decoration:blur_new_optimizations

This commit is contained in:
vaxerski
2022-08-01 12:16:33 +02:00
parent 8a4e04d789
commit 070d7699a7
6 changed files with 55 additions and 2 deletions

View File

@@ -926,6 +926,10 @@ void CCompositor::cleanupFadingOut(const int& monid) {
if (ls->monitorID != monid)
continue;
// mark blur for recalc
if (ls->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || ls->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
g_pHyprOpenGL->markBlurDirtyForMonitor(getMonitorFromID(monid));
if (ls->fadingOut && ls->readyToDelete && !ls->alpha.isBeingAnimated()) {
g_pHyprOpenGL->m_mLayerFramebuffers[ls].release();
g_pHyprOpenGL->m_mLayerFramebuffers.erase(ls);