Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

[OS X] Tearing when we have animations on top #63

Open
Ivshti opened this issue Aug 24, 2016 · 1 comment
Open

[OS X] Tearing when we have animations on top #63

Ivshti opened this issue Aug 24, 2016 · 1 comment
Labels

Comments

@Ivshti
Copy link

Ivshti commented Aug 24, 2016

I have the following situation, which I've tested only on OS X and I assume is platform-specific:

QmlVlc is overlayed by a QtWebEngine (a-la-webchimera-desktop)
when animations are triggered in the webengine, I get tearing (few times) on the frames. The more lengthy the animation, the more tearing there is.

What I assume is happening: animations trigger a redraw on the background element, which in turn catches the QmlVlc out-of-sync on a texture/buffer that is part one frame, part another.

I also assume this can be worked around by using a double (triple?) buffer. Maybe something is not right here:
8c8832d ?

Maybe on a forced redraw, you need to always pick the last frame which is not currently modified from the pool?

@RSATom RSATom added the bug label Aug 24, 2016
@RSATom
Copy link
Owner

RSATom commented Aug 24, 2016

Thanks, I'll look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants