]> git.sesse.net Git - kdenlive/commitdiff
Fix jittering issues when sending GL textures cross-thread.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 12 Jan 2014 13:00:50 +0000 (14:00 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 13 Mar 2014 21:16:54 +0000 (22:16 +0100)
When rendering into a texture on one thread and rendering _from_ it on another,
we need to properly synchronize the client state. Hook onto the OpenGL fences
that MLT set to properly wait for the rendering commands to be sent to the GPU,
which fixes the jittering we'd otherwise see, due to rendering old frames still
left in the textures because the new ones are not ready yet.


No differences found