Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qeglfsscreen_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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QEGLFSSCREEN_H
6
#
define
QEGLFSSCREEN_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qeglfsglobal_p.h"
20
#
include
<
QtCore
/
QPointer
>
21
22
#
include
<
qpa
/
qplatformscreen
.
h
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QEglFSWindow;
27
class
QOpenGLContext;
28
29
class
Q_EGLFS_EXPORT
QEglFSScreen
:
public
QPlatformScreen
30
{
31
public
:
32
QEglFSScreen(EGLDisplay display);
33
~QEglFSScreen();
34
35
QRect geometry()
const
override;
36
virtual
QRect rawGeometry()
const
;
37
int
depth()
const
override;
38
QImage::Format format()
const
override;
39
40
QSizeF physicalSize()
const
override;
41
QDpi logicalDpi()
const
override;
42
QDpi logicalBaseDpi()
const
override;
43
Qt::ScreenOrientation nativeOrientation()
const
override;
44
Qt::ScreenOrientation orientation()
const
override;
45
46
QPlatformCursor *cursor()
const
override;
47
48
qreal refreshRate()
const
override;
49
50
QPixmap grabWindow(WId wid,
int
x,
int
y,
int
width,
int
height)
const
override;
51
52
EGLSurface primarySurface()
const
{
return
m_surface; }
53
54
EGLDisplay display()
const
{
return
m_dpy; }
55
56
void
handleCursorMove(
const
QPoint &pos);
57
58
QWindow *topLevelAt(
const
QPoint &point)
const
override;
59
60
private
:
61
void
setPrimarySurface(EGLSurface surface);
62
63
EGLDisplay m_dpy;
64
EGLSurface m_surface;
65
QPlatformCursor *m_cursor;
66
67
friend
class
QEglFSWindow;
68
};
69
70
QT_END_NAMESPACE
71
72
#
endif
// QEGLFSSCREEN_H
QEglFSContext
Definition
qeglfscontext_p.h:27
QEglFSCursorDeviceListener
Definition
qeglfscursor_p.h:35
QEglFSIntegration
Definition
qeglfsintegration_p.h:49
QEglFSScreen
Definition
qeglfsscreen_p.h:30
QEglFSWindow
Definition
qeglfswindow_p.h:38
QFbVtHandler
Definition
qfbvthandler_p.h:26
QSqlRelationalDelegate
\inmodule QtSql
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_EGLFS_EXPORT
#define Q_EGLFS_EXPORT
Definition
qeglfsglobal_p.h:28
qtbase
src
plugins
platforms
eglfs
api
qeglfsscreen_p.h
Generated on
for Qt by
1.18.0