Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / vcl / skia / SkiaHelper.hxx
blob769c4d27a9aca714c3199dacdfda535227266db2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_VCL_SKIA_SKIAHELPER_HXX
11 #define INCLUDED_VCL_SKIA_SKIAHELPER_HXX
13 #include <vcl/dllapi.h>
14 #include <rtl/ustring.hxx>
16 #include <config_features.h>
18 namespace SkiaHelper
20 VCL_DLLPUBLIC bool isVCLSkiaEnabled();
21 VCL_DLLPUBLIC OUString readLog();
22 VCL_DLLPUBLIC bool isAlphaMaskBlendingEnabled();
24 #if HAVE_FEATURE_SKIA
26 // Which Skia backend to use.
27 enum RenderMethod
29 RenderRaster,
30 RenderVulkan,
31 RenderMetal
34 VCL_DLLPUBLIC RenderMethod renderMethodToUse();
36 // Clean up before exit.
37 VCL_DLLPUBLIC void cleanup();
39 #endif // HAVE_FEATURE_SKIA
41 } // namespace
43 #endif // INCLUDED_VCL_SKIA_SKIAHELPER_HXX
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */