blob: cccace7ea85e1945f784fa6dce4f770d9377dbbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "ShadowPassElement.hpp"
#include "../OpenGL.hpp"
#include "../decorations/CHyprDropShadowDecoration.hpp"
CShadowPassElement::CShadowPassElement(const CShadowPassElement::SShadowData& data_) : m_data(data_) {
;
}
void CShadowPassElement::draw(const CRegion& damage) {
m_data.deco->render(g_pHyprOpenGL->m_renderData.pMonitor.lock(), m_data.a);
}
bool CShadowPassElement::needsLiveBlur() {
return false;
}
bool CShadowPassElement::needsPrecomputeBlur() {
return false;
}
|