diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-07-15 12:16:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-07-16 15:59:46 +0200 |
commit | b0ba9e835060f8f5daf3943a03039ed443705eba (patch) | |
tree | 494fcd240b1ff426c074b7afcbef4f516d134878 /vcl/skia/x11 | |
parent | a54bfd33dd08569d364d14892866f5d00baa4424 (diff) |
flush all Skia drawing before drawing to the screen
Otherwise xor drawing might not get applied.
Change-Id: Ic1f9496c76c8f1162951e2ac4acbcd131c714a3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98885
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia/x11')
-rw-r--r-- | vcl/skia/x11/gdiimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/skia/x11/gdiimpl.cxx b/vcl/skia/x11/gdiimpl.cxx index 72b1f9874c5c..1058aaf0f8f4 100644 --- a/vcl/skia/x11/gdiimpl.cxx +++ b/vcl/skia/x11/gdiimpl.cxx @@ -128,6 +128,7 @@ void X11SkiaSalGraphicsImpl::freeResources() {} void X11SkiaSalGraphicsImpl::performFlush() { SkiaZone zone; + flushDrawing(); // TODO XPutImage() is somewhat inefficient, XShmPutImage() should be preferred. mWindowContext->swapBuffers(); } |