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
23
QT_BEGIN_NAMESPACE
24
25
class
Q_EGLFS_EXPORT
QEglFSContext
:
public
QEGLPlatformContext
26
{
27
public
:
28
using
QEGLPlatformContext::QEGLPlatformContext
;
29
QEglFSContext
() =
default
;
// workaround for INTEGRITY compiler
30
QEglFSContext
(
const
QSurfaceFormat
&
format
,
QPlatformOpenGLContext
*share,
EGLDisplay
display
,
31
EGLConfig *
config
);
32
EGLSurface
eglSurfaceForPlatformSurface
(
QPlatformSurface
*surface)
override
;
33
EGLSurface
createTemporaryOffscreenSurface
()
override
;
34
void
destroyTemporaryOffscreenSurface
(
EGLSurface
surface)
override
;
35
void
runGLChecks
()
override
;
36
void
swapBuffers
(
QPlatformSurface
*surface)
override
;
37
38
QEglFSCursorData
cursorData
;
39
40
private
:
41
EGLNativeWindowType m_tempWindow = 0;
42
};
43
44
QT_END_NAMESPACE
45
46
#endif
// QEGLFSCONTEXT_H
QEGLPlatformContext
An EGL context implementation.
Definition
qeglplatformcontext_p.h:29
QEGLPlatformContext::destroyTemporaryOffscreenSurface
virtual void destroyTemporaryOffscreenSurface(EGLSurface surface)
Definition
qeglplatformcontext.cpp:259
QEGLPlatformContext::runGLChecks
virtual void runGLChecks()
Definition
qeglplatformcontext.cpp:264
QEGLPlatformContext::swapBuffers
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
Definition
qeglplatformcontext.cpp:404
QEGLPlatformContext::QEGLPlatformContext
QEGLPlatformContext()
Definition
qeglplatformcontext_p.h:85
QEGLPlatformContext::createTemporaryOffscreenSurface
virtual EGLSurface createTemporaryOffscreenSurface()
Definition
qeglplatformcontext.cpp:241
QEGLPlatformContext::eglSurfaceForPlatformSurface
virtual EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface)=0
QEglFSContext
Definition
qeglfscontext_p.h:26
QEglFSContext::QEglFSContext
QEglFSContext()=default
QEglFSContext::cursorData
QEglFSCursorData cursorData
Definition
qeglfscontext_p.h:38
QPlatformOpenGLContext
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
Definition
qplatformopenglcontext.h:34
QPlatformSurface
The QPlatformSurface class provides an abstraction for a surface.
Definition
qplatformsurface.h:30
QSurfaceFormat
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
Definition
qsurfaceformat.h:17
display
struct wl_display * display
Definition
linuxdmabuf.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qeglfscursor_p.h
qeglfsglobal_p.h
Q_EGLFS_EXPORT
#define Q_EGLFS_EXPORT
Definition
qeglfsglobal_p.h:27
config
EGLConfig config
Definition
qeglstreamconvenience_p.h:79
EGLSurface
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
EGLDisplay
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
format
GLint GLsizei GLsizei GLenum format
Definition
qopengles2ext.h:206
qtbase
src
plugins
platforms
eglfs
api
qeglfscontext_p.h
Generated by
1.10.0