summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfb_egl.h
blob: 38afd2f37bb5afb5d3b2c8c87c380b7085f2224d (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
28
// 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
// Qt-Security score:significant reason:default

#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