LibreOffice Gets Flicker-Free OpenGL Transitions
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.
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.
33 Comments