summaryrefslogtreecommitdiff
path: root/src/render/pass/PreBlurElement.cpp
blob: 9fa3471d83ee48a586f4464e223eed5d2495db43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "PreBlurElement.hpp"
#include "../OpenGL.hpp"

CPreBlurElement::CPreBlurElement() = default;

void CPreBlurElement::draw(const CRegion& damage) {
    g_pHyprOpenGL->preBlurForCurrentMonitor();
}

bool CPreBlurElement::needsLiveBlur() {
    return false;
}

bool CPreBlurElement::needsPrecomputeBlur() {
    return false;
}

bool CPreBlurElement::disableSimplification() {
    return true;
}