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