In D12678 blur was changed to use blitFromFramebuffer() instead of glCopyTexSubImage2D()
Now it checks if the GPU supports it.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:be3168b832fb: [effects/blur] Check for blitting support
R108:81f38abe6d6d: [effects/blur] Check for blitting support
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Branch
- check_for_blit_support (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
I'm a little bit too late, but...
effects/blur/blur.cpp | ||
---|---|---|
336 | IMHO, length of this line is too big now. const bool supported = effects->isOpenGLCompositing && GLRenderTarget::supported() && GLRenderTarget::blitSupported(); would be better. |
effects/blur/blur.cpp | ||
---|---|---|
336 | You make a good point, but there are lines already longer than this in blur.cpp |