LibreOffice Module vcl (master)
1
include
vcl
skia
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
18
namespace
SkiaHelper
19
{
20
VCL_DLLPUBLIC
bool
isVCLSkiaEnabled
();
21
VCL_DLLPUBLIC
OUString
readLog
();
22
VCL_DLLPUBLIC
bool
isAlphaMaskBlendingEnabled
();
23
24
#if HAVE_FEATURE_SKIA
25
26
// Which Skia backend to use.
27
enum
RenderMethod
28
{
29
RenderRaster,
30
RenderVulkan,
31
RenderMetal
32
};
33
34
VCL_DLLPUBLIC
RenderMethod renderMethodToUse();
35
36
// Clean up before exit.
37
VCL_DLLPUBLIC
void
cleanup
();
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: */
dllapi.h
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
SkiaHelper
Definition:
vcl/inc/skia/osx/bitmap.hxx:20
SkiaHelper::readLog
VCL_DLLPUBLIC OUString readLog()
SkiaHelper::isAlphaMaskBlendingEnabled
VCL_DLLPUBLIC bool isAlphaMaskBlendingEnabled()
SkiaHelper::isVCLSkiaEnabled
VCL_DLLPUBLIC bool isVCLSkiaEnabled()
cleanup
tDoubleVectorPair cleanup(const css::uno::Sequence< double > &rXValues, const css::uno::Sequence< double > &rYValues, Pred aPred)
Generated on Sun Jul 30 2023 04:34:52 for LibreOffice Module vcl (master) by
1.9.3