Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
9QT_BEGIN_NAMESPACE
10
11class QSGContext;
12class QSGRenderLoop;
14
16{
17 Q_OBJECT
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;
24 QSGRenderLoop *createWindowManager() override;
25 Flags flags(const QString &key) const override;
26private:
27 static QSGOpenVGContext *instance;
28};
29
30QT_END_NAMESPACE
31
32#endif // QSGOPENVGADAPTATION_H
QObject * parent
Definition qobject.h:73
\inmodule QtCore
Definition qobject.h:105
QSGContext * create(const QString &key) const override
QSGRenderLoop * createWindowManager() override
Flags flags(const QString &key) const override
QStringList keys() const override