Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgopenvgadaptation_p.h
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
4#ifndef QSGOPENVGADAPTATION_H
5#define QSGOPENVGADAPTATION_H
6
7#include <private/qsgcontextplugin_p.h>
8
10
11class QSGContext;
12class QSGRenderLoop;
14
16{
18 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QSGContextFactoryInterface" FILE "openvg.json")
19public:
21
22 QStringList keys() const override;
23 QSGContext *create(const QString &key) const override;
25 Flags flags(const QString &key) const override;
26private:
27 static QSGOpenVGContext *instance;
28};
29
31
32#endif // QSGOPENVGADAPTATION_H
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
The QSGContext holds the scene graph entry points for one QML engine.
QSGRenderLoop * createWindowManager() override
QStringList keys() const override
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
Flags
GLuint64 key
GLbitfield flags
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
view create()