Recreate lanczos filter whenever the screen size changes
The LanczosFilter has a FBO in screen size. When the screen geometry changes this FBO has to be recreated. To go completely sure the lanczos filter gets deleted on screen changes. To achieve this the LanczosFilter is wrapped inside a QWeakPointer so that we can track when it got deleted. This brings an additional advantage by delaying the creation of the shader till it is really needed, that is when for the first time a window thumbnail with lanczos is rendered. BUG: 296065 FIXED-IN: 4.9.0 REVIEW: 105479
parent
40284b3c
Please register or sign in to comment