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
qsgopenvgrenderloop_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 QSGOPENVGRENDERLOOP_H
5#define QSGOPENVGRENDERLOOP_H
6
7#include <private/qsgrenderloop_p.h>
8
10
11class QOpenVGContext;
12
14{
15public:
18
19
20 void show(QQuickWindow *window) override;
21 void hide(QQuickWindow *window) override;
22
23 void windowDestroyed(QQuickWindow *window) override;
24
26 void exposureChanged(QQuickWindow *window) override;
27 QImage grab(QQuickWindow *window) override;
28
29 void maybeUpdate(QQuickWindow *window) override;
30 void update(QQuickWindow *window) override;
32
33 void releaseResources(QQuickWindow *) override;
34
36
37 QAnimationDriver *animationDriver() const override;
38
39 QSGContext *sceneGraphContext() const override;
41
42 struct WindowData {
43 bool updatePending : 1;
44 bool grabOnly : 1;
45 };
46
47 QHash<QQuickWindow *, WindowData> m_windows;
48
52
54};
55
57
58#endif // QSGOPENVGRENDERLOOP_H
\inmodule QtCore
\inmodule QtGui
Definition qimage.h:37
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
The QSGContext holds the scene graph entry points for one QML engine.
QImage grab(QQuickWindow *window) override
QHash< QQuickWindow *, WindowData > m_windows
void handleUpdateRequest(QQuickWindow *window) override
void exposureChanged(QQuickWindow *window) override
void maybeUpdate(QQuickWindow *window) override
QSGRenderContext * createRenderContext(QSGContext *) const override
void update(QQuickWindow *window) override
QAnimationDriver * animationDriver() const override
void releaseResources(QQuickWindow *) override
void windowDestroyed(QQuickWindow *window) override
QSurface::SurfaceType windowSurfaceType() const override
void renderWindow(QQuickWindow *window)
QSGContext * sceneGraphContext() const override
SurfaceType
The SurfaceType enum describes what type of surface this is.
Definition qsurface.h:30
Combined button and popup list for selecting options.
view show()
[18] //! [19]
edit hide()
aWidget window() -> setWindowTitle("New Window Title")
[2]