summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-31 15:31:06 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:15 +0100
commit0a3d3410da484acde7ac2e08ed8ec6b45ca69276 (patch)
tree301e8e59d07dd4e964cb847a3c3cbdb6d1beb908 /vcl/inc/unx
parent66853e04a049085ace924827a734e459649fdb2f (diff)
extend vcl backendtest to more backends
At least the KF5/Qt5 VCL plugins passes fine. Change-Id: I033ddf6ae9cc663729ca459cdc514dc0fa51ddc2
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/genpspgraphics.h2
-rw-r--r--vcl/inc/unx/gtk/gtkgdi.hxx4
2 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/unx/genpspgraphics.h b/vcl/inc/unx/genpspgraphics.h
index ed735474d443..b820c43a2772 100644
--- a/vcl/inc/unx/genpspgraphics.h
+++ b/vcl/inc/unx/genpspgraphics.h
@@ -193,6 +193,8 @@ public:
virtual SystemGraphicsData GetGraphicsData() const override;
+ virtual OUString getRenderBackendName() const override { return "genpsp"; }
+
#if ENABLE_CAIRO_CANVAS
virtual bool SupportsCairo() const override;
virtual cairo::SurfaceSharedPtr CreateSurface(const cairo::CairoSurfaceSharedPtr& rSurface) const override;
diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx
index cd9cf4c5b562..022a72321873 100644
--- a/vcl/inc/unx/gtk/gtkgdi.hxx
+++ b/vcl/inc/unx/gtk/gtkgdi.hxx
@@ -131,6 +131,8 @@ public:
virtual void GetResolution(sal_Int32& rDPIX, sal_Int32& rDPIY) override;
+ virtual OUString getRenderBackendName() const override { return "gtk3svp"; }
+
GtkStyleContext* createStyleContext(gtk_widget_path_iter_set_object_nameFunc set_object_name, GtkControlPart ePart);
GtkStyleContext* createNewContext(GtkControlPart ePart, gtk_widget_path_iter_set_object_nameFunc set_object_name);
GtkStyleContext* createOldContext(GtkControlPart ePart);
@@ -293,6 +295,8 @@ public:
virtual void copyBits( const SalTwoRect& rPosAry,
SalGraphics* pSrcGraphics ) override;
+ virtual OUString getRenderBackendName() const override { return "gtk3"; }
+
protected:
std::unique_ptr<GdkX11Pixmap> NWGetPixmapFromScreen( tools::Rectangle srcRect, int nBgColor = 0 );