6#ifndef QANDROIDPLATFORMOPENGLWINDOW_H
7#define QANDROIDPLATFORMOPENGLWINDOW_H
11#include <QWaitCondition>
12#include <QtCore/qjnienvironment.h>
13#include <QtCore/qjniobject.h>
22 explicit QAndroidPlatformOpenGLWindow(QWindow *window, EGLDisplay display);
23 ~QAndroidPlatformOpenGLWindow();
25 void setGeometry(
const QRect &rect) override;
26 EGLSurface eglSurface(EGLConfig config);
27 bool ensureEglSurfaceCreated(EGLConfig config);
28 QSurfaceFormat format()
const override;
30 void applicationStateChanged(Qt::ApplicationState)
override;
33 void clearSurface()
override;
36 EGLDisplay m_eglDisplay = EGL_NO_DISPLAY;
37 EGLSurface m_eglSurface = EGL_NO_SURFACE;
38 EGLNativeWindowType m_nativeWindow =
nullptr;
40 QSurfaceFormat m_format;
Combined button and popup list for selecting options.
void setAndroidPlatformIntegration(QAndroidPlatformIntegration *androidPlatformIntegration)
QBasicMutex * platformInterfaceMutex()
Q_DECLARE_JNI_CLASS(MotionEvent, "android/view/MotionEvent")