"Has 1 bug less" is also a feature... ;-)

But I agree it needs thorough testing. I'll split the patch into two,
one which I consider safe, and one with the actual "always page-flip"
magic. You can find the review request at
https://git.reviewboard.kde.org/r/107194/ .

(In reply to comment #69)
> @Ralf
> The major aspect in your patch is the "inverted" damage calculation, correct?
In the one I posted here, right. That was necessary to get 60fps during video 
playback. I think the problem was that your patch always copied loads of stuff 
back after the swapping, even if most of that would be overwritten by the next 
frame. That's avoided by my inverted logic.
The patch I submitted for review however works completely different, it makes 
sure the actual rendering is done on the slightly larger area to fix the 
current backbuffer. That's the approach taken by Weston as well. It kind of 
replaces pixel copying by texture drawing - I don't know which is faster ;-) . 
It also tries to inject the additional damage late in the drawing process, so 
that caching effects (like the blur effect) only get the "real" damage.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1069498

Title:
  KWin shows tearing despite of VSync

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1069498/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to