LibreOffice Module vcl (master) 1
SkiaHelper.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_VCL_SKIA_SKIAHELPER_HXX
11#define INCLUDED_VCL_SKIA_SKIAHELPER_HXX
12
13#include <vcl/dllapi.h>
14#include <rtl/ustring.hxx>
15
16#include <config_features.h>
17
18namespace SkiaHelper
19{
22
23#if HAVE_FEATURE_SKIA
24
25// Which Skia backend to use.
26enum RenderMethod
27{
28 RenderRaster,
29 RenderVulkan,
30 RenderMetal
31};
32
33VCL_DLLPUBLIC RenderMethod renderMethodToUse();
34
35// Clean up before exit.
37
38#endif // HAVE_FEATURE_SKIA
39
40} // namespace
41
42#endif // INCLUDED_VCL_SKIA_SKIAHELPER_HXX
43
44/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
VCL_DLLPUBLIC OUString readLog()
VCL_DLLPUBLIC bool isVCLSkiaEnabled()
tDoubleVectorPair cleanup(const css::uno::Sequence< double > &rXValues, const css::uno::Sequence< double > &rYValues, Pred aPred)