diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/skia/gdiimpl.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/skia/osx/gdiimpl.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/skia/win/gdiimpl.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/skia/x11/gdiimpl.hxx | 1 |
4 files changed, 4 insertions, 6 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index c914c26752cc..03a4d5cf0413 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -235,7 +235,7 @@ protected: void createWindowSurface(bool forceRaster = false); virtual void createWindowSurfaceInternal(bool forceRaster = false) = 0; void createOffscreenSurface(); - void flushSurfaceToWindowContext(const SkIRect& rect); + virtual void flushSurfaceToWindowContext(); void privateDrawAlphaRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, double nTransparency, bool blockAA = false); @@ -248,7 +248,7 @@ protected: void invert(basegfx::B2DPolygon const& rPoly, SalInvert eFlags); // Called by SkiaFlushIdle. - virtual void performFlush() = 0; + void performFlush(); void scheduleFlush(); friend class SkiaFlushIdle; diff --git a/vcl/inc/skia/osx/gdiimpl.hxx b/vcl/inc/skia/osx/gdiimpl.hxx index 4ffac5985edb..c4892ab45b43 100644 --- a/vcl/inc/skia/osx/gdiimpl.hxx +++ b/vcl/inc/skia/osx/gdiimpl.hxx @@ -45,8 +45,8 @@ public: private: virtual void createWindowSurfaceInternal(bool forceRaster = false) override; - virtual void performFlush() override; - void flushSurfaceToScreenCG(const SkIRect& rect); + virtual void flushSurfaceToWindowContext() override; + void flushSurfaceToScreenCG(); static inline sk_sp<SkFontMgr> fontManager; }; diff --git a/vcl/inc/skia/win/gdiimpl.hxx b/vcl/inc/skia/win/gdiimpl.hxx index 7e3f37ce435c..58043e5f6a83 100644 --- a/vcl/inc/skia/win/gdiimpl.hxx +++ b/vcl/inc/skia/win/gdiimpl.hxx @@ -60,7 +60,6 @@ public: protected: virtual void createWindowSurfaceInternal(bool forceRaster = false) override; - virtual void performFlush() override; static sk_sp<SkTypeface> createDirectWriteTypeface(HDC hdc, HFONT hfont); static void initFontInfo(); inline static sal::systools::COMReference<IDWriteFactory> dwriteFactory; diff --git a/vcl/inc/skia/x11/gdiimpl.hxx b/vcl/inc/skia/x11/gdiimpl.hxx index d85c7dc0e5c7..b7e9fe2615e0 100644 --- a/vcl/inc/skia/x11/gdiimpl.hxx +++ b/vcl/inc/skia/x11/gdiimpl.hxx @@ -33,7 +33,6 @@ public: private: virtual void createWindowSurfaceInternal(bool forceRaster = false) override; - virtual void performFlush() override; virtual bool avoidRecreateByResize() const override; static std::unique_ptr<sk_app::WindowContext> createWindowContext(Display* display, Drawable drawable, const XVisualInfo* visual, int width, |