1
0
Fork 0
mirror of https://github.com/hyprwm/hyprland-plugins.git synced 2025-01-24 20:09:48 +01:00
hyprland-plugins/borders-plus-plus/BorderppPassElement.cpp

19 lines
No EOL
496 B
C++

#include "BorderppPassElement.hpp"
#include <hyprland/src/render/OpenGL.hpp>
#include "borderDeco.hpp"
CBorderPPPassElement::CBorderPPPassElement(const CBorderPPPassElement::SBorderPPData& data_) : data(data_) {
;
}
void CBorderPPPassElement::draw(const CRegion& damage) {
data.deco->drawPass(g_pHyprOpenGL->m_RenderData.pMonitor.lock(), data.a);
}
bool CBorderPPPassElement::needsLiveBlur() {
return false;
}
bool CBorderPPPassElement::needsPrecomputeBlur() {
return false;
}