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
15#include <config_features.h>
16
17namespace SkiaHelper
18{
20
21#if HAVE_FEATURE_SKIA
22
23// Which Skia backend to use.
24enum RenderMethod
25{
26 RenderRaster,
27 RenderVulkan,
28 RenderMetal
29};
30
31VCL_DLLPUBLIC RenderMethod renderMethodToUse();
32
33// Clean up before exit.
35
36#endif // HAVE_FEATURE_SKIA
37
38} // namespace
39
40#endif // INCLUDED_VCL_SKIA_SKIAHELPER_HXX
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
VCL_DLLPUBLIC bool isVCLSkiaEnabled()
tDoubleVectorPair cleanup(const css::uno::Sequence< double > &rXValues, const css::uno::Sequence< double > &rYValues, Pred aPred)