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
qqnxglcontext.h
Go to the documentation of this file.
1// Copyright (C) 2011 - 2012 Research In Motion
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 QQNXGLCONTEXT_H
5#define QQNXGLCONTEXT_H
6
7#include <qpa/qplatformopenglcontext.h>
8#include <QtGui/QSurfaceFormat>
9#include <QtCore/QAtomicInt>
10#include <QtCore/QSize>
11
12#include <EGL/egl.h>
13#include <QtGui/private/qeglplatformcontext_p.h>
14
16
17class QQnxWindow;
18
20{
21public:
23 virtual ~QQnxGLContext();
24
25 bool makeCurrent(QPlatformSurface *surface) override;
26 void swapBuffers(QPlatformSurface *surface) override;
27 void doneCurrent() override;
28
29protected:
31};
32
34
35#endif // QQNXGLCONTEXT_H
An EGL context implementation.
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
The QPlatformSurface class provides an abstraction for a surface.
void doneCurrent() override
bool makeCurrent(QPlatformSurface *surface) override
EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override
virtual ~QQnxGLContext()
QQnxGLContext(const QSurfaceFormat &format, QPlatformOpenGLContext *share)
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
Definition qqnxwindow.h:31
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
Combined button and popup list for selecting options.
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
GLint GLsizei GLsizei GLenum format