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
qeglfscontext_p.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 QEGLFSCONTEXT_H
5#define QEGLFSCONTEXT_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qeglfsglobal_p.h"
19#include "qeglfscursor_p.h"
20#include <QtGui/private/qeglplatformcontext_p.h>
21#include <QtCore/QVariant>
22
24
26{
27public:
29 QEglFSContext() = default; // workaround for INTEGRITY compiler
31 EGLConfig *config);
34 void destroyTemporaryOffscreenSurface(EGLSurface surface) override;
35 void runGLChecks() override;
36 void swapBuffers(QPlatformSurface *surface) override;
37
38 QEglFSCursorData cursorData;
39
40private:
41 EGLNativeWindowType m_tempWindow = 0;
42};
43
45
46#endif // QEGLFSCONTEXT_H
An EGL context implementation.
virtual void destroyTemporaryOffscreenSurface(EGLSurface surface)
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
virtual EGLSurface createTemporaryOffscreenSurface()
virtual EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface)=0
QEglFSContext()=default
QEglFSCursorData cursorData
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
The QPlatformSurface class provides an abstraction for a surface.
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
struct wl_display * display
Definition linuxdmabuf.h:41
Combined button and popup list for selecting options.
#define Q_EGLFS_EXPORT
EGLConfig config
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLint GLsizei GLsizei GLenum format