blob: 7dfdb4997e74e2fe60e7beab861f97666aba8367 (
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 QDIRECTFB_EGL_H
#define QDIRECTFB_EGL_H
#include "qdirectfbintegration.h"
#ifdef DIRECTFB_GL_EGL
QT_BEGIN_NAMESPACE
class QDirectFbIntegrationEGL : public QDirectFbIntegration {
public:
QPlatformWindow *createPlatformWindow(QWindow *window) const;
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
bool hasCapability(QPlatformIntegration::Capability cap) const;
protected:
void initializeScreen();
};
QT_END_NAMESPACE
#endif
#endif
|