summaryrefslogtreecommitdiff
path: root/vcl/inc/quartz
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/inc/quartz
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/inc/quartz')
-rw-r--r--vcl/inc/quartz/salgdi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h
index 5316db0ac1a3..211708dfd576 100644
--- a/vcl/inc/quartz/salgdi.h
+++ b/vcl/inc/quartz/salgdi.h
@@ -297,6 +297,8 @@ public:
ControlState nState,
const ImplControlValue &aValue) = 0;
virtual void drawTextLayout(const GenericSalLayout& layout) = 0;
+ virtual void Flush() {}
+ virtual void Flush( const tools::Rectangle& ) {}
protected:
static bool performDrawNativeControl(ControlType nType,
ControlPart nPart,
@@ -487,6 +489,9 @@ public:
void RefreshRect( const CGRect& ) {}
#endif
+ void Flush();
+ void Flush( const tools::Rectangle& );
+
void UnsetState();
// InvalidateContext does an UnsetState and sets mrContext to 0
void InvalidateContext();