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
qohoseglplatformcontext.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
QOHOSEGLPLATFORMCONTEXT_H
5
#
define
QOHOSEGLPLATFORMCONTEXT_H
6
7
#
include
<
QtGui
/
private
/
qeglplatformcontext_p
.
h
>
8
9
QT_BEGIN_NAMESPACE
10
11
class
QOhosEGLPlatformContext final :
public
QEGLPlatformContext
12
{
13
public
:
14
using
QEGLPlatformContext::QEGLPlatformContext;
15
struct
CreateInfo
16
{
17
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
18
EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
19
QPlatformOpenGLContext *optionalShareContext{
nullptr
};
20
EGLConfig *optionalConfig =
nullptr
;
21
Flags optionalFlags = Flags{};
22
};
23
24
QOhosEGLPlatformContext(
const
QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display);
25
26
27
void
swapBuffers(QPlatformSurface *surface) override;
28
29
private
:
30
EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) final;
31
bool
m_isDuringSwappingBuffers;
32
};
33
34
QT_END_NAMESPACE
35
36
#
endif
QOhosFloatingWindow
Definition
qohosfloatingwindow.h:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platforms
ohos
qohoseglplatformcontext.h
Generated on
for Qt by
1.18.0