LibreOffice Gets Flicker-Free OpenGL Transitions

Written by Michael Larabel in LibreOffice on 11 September 2017 at 05:36 PM EDT. 33 Comments
LIBREOFFICE
Caolán McNamara's hacking around GTK3 support in LibreOffice continues. This time, he's managed flicker-free OpenGL transitions.

Last year McNamara got GTK3 OpenGL transitions working, but it was less than perfect. But now he's managed to provide flicker-less GTK3 OpenGL transitions after landing some improvements into LibreOffice Git.

The main commit can be found here and explained as "leave the GtkGLArea opengl context alone except for the final render into it, create a new context for the slide transitions to play with set up a pair of framebuffers, a scratch one to let the transitions render into, the other to take a snapshot when the transition is finished with it and then tell GtkGLArea we're ready to render it and when the callback comes around copy the snapshot into it."

He mentioned the flicker-free GTK3 OpenGL LibreOffice transitions via this blog post and shared this before/after video:


Look for these smoother transitions in LibreOffice 6.0.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week