summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-08-23 18:45:12 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-08-24 13:17:37 +0200
commitbaed91bab05546f7f5233701bd7aaed44f25a364 (patch)
treea5f32021ce2408940e089a07870f7186ff79e1a3 /vcl/osx
parentd4afd3aeb4ef2727986551816c1ff9ad0ed12d04 (diff)
implement explicit screen flushing also for Skia/Mac
Change-Id: I29b9f54d24aece32949ac3ba916f1d6588cfd85f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120910 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salframe.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 18263fa5ea46..5b3a7e665ff5 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -988,6 +988,7 @@ void AquaSalFrame::Flush()
// => fall back to synchronous painting
if( ImplGetSVData()->maAppData.mnDispatchLevel <= 0 )
{
+ mpGraphics->Flush();
[mpNSView display];
}
}
@@ -1008,6 +1009,7 @@ void AquaSalFrame::Flush( const tools::Rectangle& rRect )
// => fall back to synchronous painting
if( ImplGetSVData()->maAppData.mnDispatchLevel <= 0 )
{
+ mpGraphics->Flush( rRect );
[mpNSView display];
}
}