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
4
#
include
"qwlserverbufferintegration_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
namespace
QtWayland
{
9
10
ServerBuffer
::
ServerBuffer
(
const
QSize
&
size
,
ServerBuffer
::
Format
format
)
11
:
m_size
(
size
)
12
,
m_format
(
format
)
13
{ }
14
ServerBuffer
::~
ServerBuffer
()
15
{ }
16
17
18
bool
ServerBuffer
::
isYInverted
()
const
19
{
20
return
false
;
21
}
22
23
QSize
ServerBuffer
::
size
()
const
24
{
return
m_size
; }
25
26
ServerBuffer
::
Format
ServerBuffer
::
format
()
const
27
{
return
m_format
; }
28
29
ServerBufferIntegration
::
ServerBufferIntegration
()
30
{ }
31
32
ServerBufferIntegration
::~
ServerBufferIntegration
()
33
{ }
34
35
bool
ServerBufferIntegration
::
initializeHardware
(
QWaylandCompositor
*
compositor
)
36
{
37
Q_UNUSED
(
compositor
);
38
return
true
;
39
}
40
41
}
42
43
QT_END_NAMESPACE
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWayland
Definition
qwaylanddisplay_p.h:51
qtwayland
src
compositor
hardware_integration
qwlserverbufferintegration.cpp
Generated on
for Qt by
1.14.0