mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-20 13:38:26 +02:00
21 lines
400 B
C++
21 lines
400 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;
|
||
|
|
}
|