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.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/inc/skia/x11/gdiimpl.hxx b/vcl/inc/skia/x11/gdiimpl.hxx
index fcc0ecb116d8..c3ffb1221cd9 100644
--- a/vcl/inc/skia/x11/gdiimpl.hxx
+++ b/vcl/inc/skia/x11/gdiimpl.hxx
@@ -16,6 +16,11 @@
#include <unx/x11/x11gdiimpl.h>
#include <skia/gdiimpl.hxx>
+namespace sk_app
+{
+class WindowContext;
+}
+
class VCL_PLUGIN_PUBLIC X11SkiaSalGraphicsImpl : public SkiaSalGraphicsImpl, public X11GraphicsImpl
{
private:
@@ -26,6 +31,7 @@ public:
virtual ~X11SkiaSalGraphicsImpl() override;
virtual void Init() override;
+ virtual void DeInit() override;
virtual void freeResources() override;
// implementation of X11GraphicsImpl
@@ -36,11 +42,11 @@ public:
bool TryRenderCachedNativeControl(ControlCacheKey& rControlCacheKey, int nX, int nY) override;
protected:
+ virtual void createSurface() override;
virtual void performFlush() override;
private:
- GC getGC();
- GC mCopyGc;
+ std::unique_ptr<sk_app::WindowContext> mWindowContext;
};
#endif // INCLUDED_VCL_INC_SKIA_X11_GDIIMPL_HXX