summaryrefslogtreecommitdiff
path: root/include/vcl/skia
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-12 17:46:11 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:05 +0100
commit1e9fae677579b59ddbc4cd69e201b95f51b8c742 (patch)
tree3bcbc86dae348397d10f0557bbceca88a0b86469 /include/vcl/skia
parent534d89fed30983bcc48387facc3410f13e230683 (diff)
initial empty Skia VCL implementation
This mostly duplicates OpenGL cases. Pretty much all implementation methods are empty. Change-Id: I333506f56dcc46c3e9405fe8194c172de17c54fd
Diffstat (limited to 'include/vcl/skia')
-rw-r--r--include/vcl/skia/SkiaHelper.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/vcl/skia/SkiaHelper.hxx b/include/vcl/skia/SkiaHelper.hxx
new file mode 100644
index 000000000000..77e9fab5797a
--- /dev/null
+++ b/include/vcl/skia/SkiaHelper.hxx
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_SKIA_SKIAHELPER_HXX
+#define INCLUDED_VCL_SKIA_SKIAHELPER_HXX
+
+#include <vcl/dllapi.h>
+
+// All member functions static and VCL_DLLPUBLIC. Basically a glorified namespace.
+struct VCL_DLLPUBLIC SkiaHelper
+{
+ SkiaHelper() = delete; // Should not be instantiated
+
+public:
+ static bool isVCLSkiaEnabled();
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */