Alban-Boissard / kwin-effects-blur-respect-rounded-decorations

A fork of the kwin blur effect that solve the corners bug.
GNU General Public License v2.0
113 stars 5 forks source link

Update for KF5 5.95.0 #14

Open dr460nf1r3 opened 2 years ago

dr460nf1r3 commented 2 years ago

Full log available here.

Relevant part:

[ 89%] Building CXX object src/CMakeFiles/kwin4_effect_blur2.dir/blurshader.cpp.o
In file included from /home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/moc_blur.cpp:10,
from /home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/mocs_compilation.cpp:2:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:14: error: ‘GLRenderTarget’ wasnot declared in this scope
87 |     QVector <GLRenderTarget*> m_renderTargets;
|              ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:29: error: template argument 1 is invalid
87 |     QVector <GLRenderTarget*> m_renderTargets;
|                             ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:13: error: ‘GLRenderTarget’ wasnot declared in this scope; did you mean ‘m_renderTargets’?
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|             ^~~~~~~~~~~~~~
|             m_renderTargets
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:28: error: template argument 1 is invalid
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|                            ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:43:10: error: ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame*, const QRegion&, double, double)’ marked ‘override’, but does not override
43 |     void paintEffectFrame(EffectFrame *frame, const QRegion &region, double opacity, double frameOpacity) override;
|          ^~~~~~~~~~~~~~~~
In file included from /home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/plugin.cpp:7:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:87:14: error: ‘GLRenderTarget’ was not declared in this scope
87 |     QVector <GLRenderTarget*> m_renderTargets;
|              ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:87:29: error: template argument 1 is invalid
87 |     QVector <GLRenderTarget*> m_renderTargets;
|                             ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:89:13: error: ‘GLRenderTarget’ was not declared in this scope; did you mean ‘m_renderTargets’?
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|             ^~~~~~~~~~~~~~
|             m_renderTargets
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:89:28: error: template argument 1 is invalid
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|                            ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:43:10: error: ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame*, const QRegion&, double, double)’ marked ‘override’, but does not override
43 |     void paintEffectFrame(EffectFrame *frame, const QRegion &region, double opacity, double frameOpacity) override;
|          ^~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/kwin4_effect_blur2.dir/build.make:85: src/CMakeFiles/kwin4_effect_blur2.dir/kwin4_effect_blur2_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:9:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:87:14: error: ‘GLRenderTarget’ was not declared in this scope
87 |     QVector <GLRenderTarget*> m_renderTargets;
|              ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:87:29: error: template argument 1 is invalid
87 |     QVector <GLRenderTarget*> m_renderTargets;
|                             ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:89:13: error: ‘GLRenderTarget’ was not declared in this scope; did you mean ‘m_renderTargets’?
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|             ^~~~~~~~~~~~~~
|             m_renderTargets
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:89:28: error: template argument 1 is invalid
89 |     QStack <GLRenderTarget*> m_renderTargetStack;
|                            ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:43:10: error: ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame*, const QRegion&, double, double)’ marked ‘override’, but does not override
43 |     void paintEffectFrame(EffectFrame *frame, const QRegion &region, double opacity, double frameOpacity) override;
|          ^~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/kwin4_effect_blur2.dir/build.make:127: src/CMakeFiles/kwin4_effect_blur2.dir/plugin.cpp.o] Error 1
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘bool KWin::BlurEffect::renderTargetsValid() const’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:109:29: error: request for member ‘isEmpty’ in ‘((const KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘const int’
109 |     return !m_renderTargets.isEmpty() && std::find_if(m_renderTargets.cbegin(), m_renderTargets.cend(),
|                             ^~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:109:71: error: request for member ‘cbegin’ in ‘((const KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘const int’
109 |     return !m_renderTargets.isEmpty() && std::find_if(m_renderTargets.cbegin(), m_renderTargets.cend(),
|                                                                       ^~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:109:97: error: request for member ‘cend’ in ‘((const KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘const int’
109 |     return !m_renderTargets.isEmpty() && std::find_if(m_renderTargets.cbegin(), m_renderTargets.cend(),
|                                                                                                 ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:110:18: error: ‘GLRenderTarget’ does not name a type
110 |         [](const GLRenderTarget *target) {
|                  ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In lambda function:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:112:12: error: expected ‘{’ before ‘==’ token
112 |         }) == m_renderTargets.cend();
|            ^~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘bool KWin::BlurEffect::renderTargetsValid() const’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:112:31: error: request for member ‘cend’ in ‘((const KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘const int’
112 |         }) == m_renderTargets.cend();
|                               ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::deleteFBOs()’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:119:21: error: request for member ‘clear’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
119 |     m_renderTargets.clear();
|                     ^~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::updateTexture()’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:132:21: error: request for member ‘reserve’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
132 |     m_renderTargets.reserve(m_downSampleIterations + 2);
|                     ^~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:165:25: error: request for member ‘append’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
165 |         m_renderTargets.append(new GLRenderTarget(m_renderTextures.last()));
|                         ^~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:165:36: error: expected type-specifier before ‘GLRenderTarget’
165 |         m_renderTargets.append(new GLRenderTarget(m_renderTextures.last()));
|                                    ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:173:21: error: request for member ‘append’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
173 |     m_renderTargets.append(new GLRenderTarget(m_renderTextures.last()));
|                     ^~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:173:32: error: expected type-specifier before ‘GLRenderTarget’
173 |     m_renderTargets.append(new GLRenderTarget(m_renderTextures.last()));
|                                ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:178:25: error: request for member ‘clear’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargetStack’, which is of non-class type ‘int’
178 |     m_renderTargetStack.clear();
|                         ^~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:179:25: error: request for member ‘reserve’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargetStack’, which is of non-class type ‘int’
179 |     m_renderTargetStack.reserve(m_downSampleIterations * 2);
|                         ^~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:183:29: error: request for member ‘push’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargetStack’, which is of non-class type ‘int’
183 |         m_renderTargetStack.push(m_renderTargets[i]);
|                             ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:183:49: error: invalid types ‘int[int]’ for array subscript
183 |         m_renderTargetStack.push(m_renderTargets[i]);
|                                                 ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:188:29: error: request for member ‘push’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargetStack’, which is of non-class type ‘int’
188 |         m_renderTargetStack.push(m_renderTargets[i]);
|                             ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:188:49: error: invalid types ‘int[int]’ for array subscript
188 |         m_renderTargetStack.push(m_renderTargets[i]);
|                                                 ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:192:25: error: request for member ‘push’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargetStack’, which is of non-class type ‘int’
192 |     m_renderTargetStack.push(m_renderTargets[0]);
|                         ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:192:45: error: invalid types ‘int[int]’ for array subscript
192 |     m_renderTargetStack.push(m_renderTargets[0]);
|                                             ^
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In static member function ‘static bool KWin::BlurEffect::supported()’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:392:56: error: ‘GLRenderTarget’ has not been declared
392 |     bool supported = effects->isOpenGLCompositing() && GLRenderTarget::supported() && GLRenderTarget::blitSupported();
|                                                        ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:392:87: error: ‘GLRenderTarget’ has not been declared
392 |     bool supported = effects->isOpenGLCompositing() && GLRenderTarget::supported() && GLRenderTarget::blitSupported();
|                                                                                       ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘QRegion KWin::BlurEffect::blurRegion(const KWin::EffectWindow*) const’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:454:53: error: ‘class KWin::EffectsHandler’ has no member named ‘decorationSupportsBlurBehind’
454 |             if (w->decorationHasAlpha() && effects->decorationSupportsBlurBehind()) {
|                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:464:52: error: ‘class KWin::EffectsHandler’ has no member named ‘decorationSupportsBlurBehind’
464 |     } else if (w->decorationHasAlpha() && effects->decorationSupportsBlurBehind()) {
|                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:471:90: error: ‘class KWin::EffectsHandler’ has no member named ‘decorationSupportsBlurBehind’
471 |     bool hasBluredDecoration = w->hasDecoration() && w->decorationHasAlpha() && effects->decorationSupportsBlurBehind();
|                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘virtual void KWin::BlurEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:551:13: error: ‘class KWin::EffectWindow’ has no member named ‘isPaintingEnabled’
551 |     if (!w->isPaintingEnabled()) {
|             ^~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:558:34: error: ‘class KWin::WindowPrePaintData’ has no member named ‘clip’
558 |     const QRegion oldClip = data.clip;
|                                  ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:559:14: error: ‘class KWin::WindowPrePaintData’ has no member named ‘clip’
559 |     if (data.clip.intersects(m_currentBlur)) {
|              ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:562:39: error: ‘class KWin::WindowPrePaintData’ has no member named ‘clip’
562 |         for (const QRect &rect : data.clip) {
|                                       ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:565:14: error: ‘class KWin::WindowPrePaintData’ has no member named ‘clip’
565 |         data.clip = newClip;
|              ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:595:27: error: ‘class KWin::WindowPrePaintData’ has no member named ‘clip’
595 |     m_paintedArea -= data.clip;
|                           ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘bool KWin::BlurEffect::shouldBlur(const KWin::EffectWindow*, int, constKWin::WindowPaintData&) const’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:617:26: error: ‘class KWin::EffectsHandler’ has no member named ‘decorationSupportsBlurBehind’
617 |                 effects->decorationSupportsBlurBehind();
|                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘virtual void KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, const QRegion&, KWin::WindowPaintData&)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:627:26: error: ‘GLRenderTarget’ has not been declared
627 |     const QRect screen = GLRenderTarget::virtualScreenGeometry();
|                          ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame*, const QRegion&, double, double)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:670:62: error: ‘class KWin::EffectFrame’ has no member named ‘screenProjectionMatrix’
670 |         doBlur(shape, screen, opacity * frameOpacity, frame->screenProjectionMatrix(), false, frame->geometry());
|                                                              ^~~~~~~~~~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:672:14: error: ‘class KWin::EffectsHandler’ has no member named ‘paintEffectFrame’; did you mean ‘effectFrame’?
672 |     effects->paintEffectFrame(frame, region, opacity, frameOpacity);
|              ^~~~~~~~~~~~~~~~
|              effectFrame
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::generateNoiseTexture()’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:682:11: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
682 |     qsrand((uint)QTime::currentTime().msec());
|     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qcoreapplication.h:43,
from /usr/include/qt/QtCore/QCoreApplication:1,
from /usr/include/kwinglobals.h:13,
from /usr/include/kwineffects.h:18,
from /home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.h:11:
/usr/include/qt/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
|                                                                                 ^~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:690:38: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
690 |             noiseImageLine[x] = qrand() % m_noiseStrength;
|                                 ~~~~~^~
/usr/include/qt/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
|                                                                                ^~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::doBlur(const QRegion&, const QRect&, float, const QMatrix4x4&, bool, QRect)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:723:5: error: ‘GLRenderTarget’ has not been declared
723 |     GLRenderTarget::pushRenderTargets(m_renderTargetStack);
|     ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:734:25: error: request for member ‘last’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
734 |         m_renderTargets.last()->blitFromFramebuffer(sourceRect, destRect);
|                         ^~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:745:25: error: request for member ‘first’ in ‘((KWin::BlurEffect*)this)->KWin::BlurEffect::m_renderTargets’, which is of non-class type ‘int’
745 |         m_renderTargets.first()->blitFromFramebuffer(sourceRect, destRect);
|                         ^~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:752:9: error: ‘GLRenderTarget’ has not been declared
752 |         GLRenderTarget::popRenderTarget();
|         ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::upscaleRenderToScreen(KWin::GLVertexBuffer*, int, int, const QMatrix4x4&, QPoint)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:811:65: error: ‘GLRenderTarget’ has not been declared
811 |     m_shader->setTargetTextureSize(m_renderTextures[0].size() * GLRenderTarget::virtualScreenScale());
|                                                                 ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:806:137: warning: unused parameter ‘windowPosition’ [-Wunused-parameter]
806 | void BlurEffect::upscaleRenderToScreen(GLVertexBuffer *vbo, int vboStart, int blurRectCount, const QMatrix4x4 &screenProjection, QPoint windowPosition)
|                                                                                                                                  ~~~~~~~^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::applyNoise(KWin::GLVertexBuffer*, int, int, const QMatrix4x4&, QPoint)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:824:65: error: ‘GLRenderTarget’ has not been declared
824 |     m_shader->setTargetTextureSize(m_renderTextures[0].size() * GLRenderTarget::virtualScreenScale());
|                                                                 ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:825:60: error: ‘GLRenderTarget’ has not been declared
825 |     m_shader->setNoiseTextureSize(m_noiseTexture->size() * GLRenderTarget::virtualScreenScale());
|                                                            ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:826:51: error: ‘GLRenderTarget’ has not been declared
826 |     m_shader->setTexturePosition(windowPosition * GLRenderTarget::virtualScreenScale());
|                                                   ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::downSampleTexture(KWin::GLVertexBuffer*, int)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:855:9: error: ‘GLRenderTarget’ has not been declared
855 |         GLRenderTarget::popRenderTarget();
|         ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::upSampleTexture(KWin::GLVertexBuffer*, int)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:879:9: error: ‘GLRenderTarget’ has not been declared
879 |         GLRenderTarget::popRenderTarget();
|         ^~~~~~~~~~~~~~
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp: In member function ‘void KWin::BlurEffect::copyScreenSampleTexture(KWin::GLVertexBuffer*, int, QRegion, const QMatrix4x4&)’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:900:5: error: ‘GLRenderTarget’ has not been declared
900 |     GLRenderTarget::popRenderTarget();
|     ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qlist.h:43,
from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtCore/qcoreapplication.h:46:
/usr/include/qt/QtCore/qalgorithms.h: In instantiation of ‘void qDeleteAll(const Container&) [with Container = int]’:
/home/nico/.cache/paru/clone/kwin-effects-blur-respect-rounded-decorations-git/src/kwin-effects-blur-respect-rounded-decorations-git/src/blur.cpp:117:15:   required from here
/usr/include/qt/QtCore/qalgorithms.h:328:18: error: request for member ‘begin’ in ‘c’, which is of non-class type ‘const int’
328 |     qDeleteAll(c.begin(), c.end());
|                ~~^~~~~
/usr/include/qt/QtCore/qalgorithms.h:328:29: error: request for member ‘end’ in ‘c’, which is of non-class type ‘const int’
328 |     qDeleteAll(c.begin(), c.end());
|                           ~~^~~
make[2]: *** [src/CMakeFiles/kwin4_effect_blur2.dir/build.make:99: src/CMakeFiles/kwin4_effect_blur2.dir/blur.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:360: src/CMakeFiles/kwin4_effect_blur2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Linking CXX shared module ../../bin/kwin_blur2_config.so
[ 94%] Built target kwin_blur2_config
make: *** [Makefile:146: all] Error 2