summaryrefslogtreecommitdiff
path: root/vcl/inc/skia/x11/gdiimpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/skia/x11/gdiimpl.hxx')
-rw-r--r--vcl/inc/skia/x11/gdiimpl.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/vcl/inc/skia/x11/gdiimpl.hxx b/vcl/inc/skia/x11/gdiimpl.hxx
index 670c1117d32d..fcc0ecb116d8 100644
--- a/vcl/inc/skia/x11/gdiimpl.hxx
+++ b/vcl/inc/skia/x11/gdiimpl.hxx
@@ -19,14 +19,14 @@
class VCL_PLUGIN_PUBLIC X11SkiaSalGraphicsImpl : public SkiaSalGraphicsImpl, public X11GraphicsImpl
{
private:
- X11SalGraphics& mrX11Parent;
+ X11SalGraphics& mParent;
public:
X11SkiaSalGraphicsImpl(X11SalGraphics& rParent);
virtual ~X11SkiaSalGraphicsImpl() override;
-public:
virtual void Init() override;
+ virtual void freeResources() override;
// implementation of X11GraphicsImpl
void FillPixmapFromScreen(X11Pixmap* pPixmap, int nX, int nY) override;
@@ -34,6 +34,13 @@ public:
bool RenderAndCacheNativeControl(X11Pixmap* pPixmap, X11Pixmap* pMask, int nX, int nY,
ControlCacheKey& aControlCacheKey) override;
bool TryRenderCachedNativeControl(ControlCacheKey& rControlCacheKey, int nX, int nY) override;
+
+protected:
+ virtual void performFlush() override;
+
+private:
+ GC getGC();
+ GC mCopyGc;
};
#endif // INCLUDED_VCL_INC_SKIA_X11_GDIIMPL_HXX