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
qsgsoftwareadaptation_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 PLUGINMAIN_H
5
#define PLUGINMAIN_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <private/qsgcontextplugin_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QSGContext
;
23
class
QSGRenderLoop
;
24
class
QSGSoftwareContext
;
25
26
class
QSGSoftwareAdaptation
:
public
QSGContextPlugin
27
{
28
public
:
29
QSGSoftwareAdaptation
(
QObject
*
parent
=
nullptr
);
30
31
QStringList
keys
()
const override
;
32
QSGContext
*
create
(
const
QString
&
key
)
const override
;
33
QSGContextFactoryInterface::Flags
flags
(
const
QString
&
key
)
const override
;
34
QSGRenderLoop
*
createWindowManager
()
override
;
35
private
:
36
static
QSGSoftwareContext
*instance;
37
};
38
39
QT_END_NAMESPACE
40
41
#endif
// PLUGINMAIN_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QObject::parent
QObject * parent() const
Returns a pointer to the parent object.
Definition
qobject.h:346
QSGContextPlugin
Definition
qsgcontextplugin_p.h:50
QSGContext
The QSGContext holds the scene graph entry points for one QML engine.
Definition
qsgcontext_p.h:82
QSGRenderLoop
Definition
qsgrenderloop_p.h:34
QSGSoftwareAdaptation
Definition
qsgsoftwareadaptation_p.h:27
QSGSoftwareAdaptation::keys
QStringList keys() const override
Definition
qsgsoftwareadaptation.cpp:19
QSGSoftwareAdaptation::QSGSoftwareAdaptation
QSGSoftwareAdaptation(QObject *parent=nullptr)
Definition
qsgsoftwareadaptation.cpp:14
QSGSoftwareAdaptation::createWindowManager
QSGRenderLoop * createWindowManager() override
Definition
qsgsoftwareadaptation.cpp:39
QSGSoftwareContext
Definition
qsgsoftwarecontext_p.h:49
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
key
GLuint64 key
Definition
qopengles2ext.h:2268
flags
GLbitfield flags
Definition
qopengles2ext.h:1026
create
view create()
qtdeclarative
src
quick
scenegraph
adaptations
software
qsgsoftwareadaptation_p.h
Generated by
1.10.0