mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-01-08 05:19:48 +01:00
19 lines
No EOL
469 B
C++
19 lines
No EOL
469 B
C++
#include "TrailPassElement.hpp"
|
|
#include <hyprland/src/render/OpenGL.hpp>
|
|
#include "trail.hpp"
|
|
|
|
CTrailPassElement::CTrailPassElement(const CTrailPassElement::STrailData& data_) : data(data_) {
|
|
;
|
|
}
|
|
|
|
void CTrailPassElement::draw(const CRegion& damage) {
|
|
data.deco->renderPass(g_pHyprOpenGL->m_RenderData.pMonitor.lock(), data.a);
|
|
}
|
|
|
|
bool CTrailPassElement::needsLiveBlur() {
|
|
return false;
|
|
}
|
|
|
|
bool CTrailPassElement::needsPrecomputeBlur() {
|
|
return false;
|
|
} |