Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
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
15
17{
18 return QStringList() << QLatin1String("openvg");
19}
20
22{
24 if (!instance)
25 instance = new QSGOpenVGContext();
26 return instance;
27}
28
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:103
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:129
Combined button and popup list for selecting options.
QList< QString > QStringList
Constructs a string list that contains the given string, str.
GLuint64 key
QLatin1StringView QLatin1String
Definition qstringfwd.h:31
#define Q_UNUSED(x)