Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qandroidplatformopenglcontext.h
Go to the documentation of this file.
1// Copyright (C) 2014 BogDan Vatra <bogdan@kde.org>
2// Copyright (C) 2016 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QANDROIDPLATFORMOPENGLCONTEXT_H
6#define QANDROIDPLATFORMOPENGLCONTEXT_H
7
8#include <QtGui/private/qeglplatformcontext_p.h>
9
11
13{
14public:
17 void swapBuffers(QPlatformSurface *surface) override;
18 bool makeCurrent(QPlatformSurface *surface) override;
19
20private:
22};
23
25
26#endif // QANDROIDPLATFORMOPENGLCONTEXT_H
bool makeCurrent(QPlatformSurface *surface) override
EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override
void swapBuffers(QPlatformSurface *surface) override
Reimplement in subclass to native swap buffers calls.
An EGL context implementation.
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.
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLint GLsizei GLsizei GLenum format