Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qsgopenvgadaptation.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
8
10
13{
14}
15
17{
18 return QStringList() << QLatin1String("openvg");
19}
20
22{
24 if (!instance)
25 instance = new QSGOpenVGContext();
26 return instance;
27}
28
30{
31 return new QSGOpenVGRenderLoop();
32}
33
34QSGContextFactoryInterface::Flags QSGOpenVGAdaptation::flags(const QString &key) const
35{
37 return 0;
38}
39
40QSGOpenVGContext *QSGOpenVGAdaptation::instance = nullptr;
41
\inmodule QtCore
Definition qobject.h:90
The QSGContext holds the scene graph entry points for one QML engine.
QSGContext * create(const QString &key) const override
QSGRenderLoop * createWindowManager() override
Flags flags(const QString &key) const override
QStringList keys() const override
QSGOpenVGAdaptation(QObject *parent=nullptr)
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
GLuint64 key
QLatin1StringView QLatin1String
Definition qstringfwd.h:31
#define Q_UNUSED(x)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent