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
qwlserverbufferintegration.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"qwlserverbufferintegration_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
namespace
QtWayland
{
10
11
ServerBuffer
::
ServerBuffer
(
const
QSize
&
size
,
ServerBuffer
::
Format
format
)
12
:
m_size
(
size
)
13
,
m_format
(
format
)
14
{ }
15
ServerBuffer
::~
ServerBuffer
()
16
{ }
17
18
19
bool
ServerBuffer
::
isYInverted
()
const
20
{
21
return
false
;
22
}
23
24
QSize
ServerBuffer
::
size
()
const
25
{
return
m_size
; }
26
27
ServerBuffer
::
Format
ServerBuffer
::
format
()
const
28
{
return
m_format
; }
29
30
ServerBufferIntegration
::
ServerBufferIntegration
()
31
{ }
32
33
ServerBufferIntegration
::~
ServerBufferIntegration
()
34
{ }
35
36
bool
ServerBufferIntegration
::
initializeHardware
(
QWaylandCompositor
*
compositor
)
37
{
38
Q_UNUSED
(
compositor
);
39
return
true
;
40
}
41
42
}
43
44
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QtWayland
Definition
qwaylanddisplay_p.h:54
qtwayland
src
compositor
hardware_integration
qwlserverbufferintegration.cpp
Generated on
for Qt by
1.16.1