mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-19 21:38:09 +02:00
24 lines
460 B
C++
24 lines
460 B
C++
#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;
|
|
}
|
|
|
|
bool CPreBlurElement::undiscardable() {
|
|
return true;
|
|
}
|