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
qeglfsvivintegration.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 QEGLFSVIVINTEGRATION_H
5#define QEGLFSVIVINTEGRATION_H
6
7#include "private/qeglfsdeviceintegration_p.h"
8
10
12{
13public:
14 void platformInit() override;
15 QSize screenSize() const override;
16 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
17 void destroyNativeWindow(EGLNativeWindowType window) override;
18 EGLNativeDisplayType platformDisplay() const override;
19
20private:
21 QSize mScreenSize;
22 EGLNativeDisplayType mNativeDisplay;
23};
24
26
27#endif
void destroyNativeWindow(EGLNativeWindowType window) override
QSize screenSize() const override
EGLNativeDisplayType platformDisplay() const override
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override
The QPlatformWindow class provides an abstraction for top-level windows.
\inmodule QtCore
Definition qsize.h:25
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
aWidget window() -> setWindowTitle("New Window Title")
[2]