mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-05-18 00:28:07 +02:00
21 lines
562 B
C++
21 lines
562 B
C++
#include "BorderppPassElement.hpp"
|
|
#include <hyprland/src/render/OpenGL.hpp>
|
|
#include <hyprland/src/render/Renderer.hpp>
|
|
#include "borderDeco.hpp"
|
|
|
|
CBorderPPPassElement::CBorderPPPassElement(const CBorderPPPassElement::SBorderPPData& data_) : data(data_) {
|
|
;
|
|
}
|
|
|
|
std::vector<UP<IPassElement>> CBorderPPPassElement::draw() {
|
|
data.deco->drawPass(g_pHyprRenderer->m_renderData.pMonitor.lock(), data.a);
|
|
return {};
|
|
}
|
|
|
|
bool CBorderPPPassElement::needsLiveBlur() {
|
|
return false;
|
|
}
|
|
|
|
bool CBorderPPPassElement::needsPrecomputeBlur() {
|
|
return false;
|
|
}
|