summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2016-03-11 18:04:40 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-03-14 12:36:43 +0000
commite19212b0854d963d33354095ffa62e34ac56d315 (patch)
tree0656d798c58d8c202884aee77963499d3e4967a8
parent347577cb687ee7c30b52fdca3dee831d78ec55cd (diff)
tdf#95616 - fix flickering issue
Reviewed-on: https://gerrit.libreoffice.org/23238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: I0d5bfdf44dde2cd06c193f34e81c6ce71291bba1
-rw-r--r--vcl/opengl/gdiimpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 15cec83867a3..59545f8e3892 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -451,9 +451,10 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
if( maOffscreenTex.GetWidth() != GetWidth() ||
maOffscreenTex.GetHeight() != GetHeight() )
{
+ VCL_GL_INFO( "re-size offscreen texture " << maOffscreenTex.Id() );
+ mpFlush->SetPriority( SchedulerPriority::POST_PAINT );
mpContext->ReleaseFramebuffer( maOffscreenTex );
maOffscreenTex = OpenGLTexture();
- VCL_GL_INFO( "re-size offscreen texture" );
}
}