blob: abee5e623d848c989b045b3acde7c0bc81a169f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QEGLFSVIVINTEGRATION_H
#define QEGLFSVIVINTEGRATION_H
#include "private/qeglfsdeviceintegration_p.h"
QT_BEGIN_NAMESPACE
class QEglFSVivIntegration : public QEglFSDeviceIntegration
{
public:
void platformInit() override;
QSize screenSize() const override;
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
void destroyNativeWindow(EGLNativeWindowType window) override;
EGLNativeDisplayType platformDisplay() const override;
private:
QSize mScreenSize;
EGLNativeDisplayType mNativeDisplay;
};
QT_END_NAMESPACE
#endif
|