10#include <QtGui/private/qgenericunixfontdatabase_p.h>
13# include <QtGui/private/qgenericunixeventdispatcher_p.h>
14#elif defined(Q_OS_WIN)
15# include <QtGui/private/qwindowsguieventdispatcher_p.h>
18#include <qpa/qplatformwindow.h>
19#include <QtGui/QSurfaceFormat>
20#include <QtGui/QOpenGLContext>
21#include <QtGui/QScreen>
22#include <qpa/qwindowsysteminterface.h>
34#ifdef QEGL_EXTRA_DEBUG
35 qWarning(
"QMinimalEglIntegration\n");
57#ifdef QEGL_EXTRA_DEBUG
58 qWarning(
"QMinimalEglIntegration::createPlatformWindow %p\n",
window);
61 w->requestActivateWindow();
68#ifdef QEGL_EXTRA_DEBUG
69 qWarning(
"QMinimalEglIntegration::createWindowSurface %p\n",
window);
93 return createUnixEventDispatcher();
94#elif defined(Q_OS_WIN)
QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const override
Factory function for QPlatformOpenGLContext.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QVariant styleHint(QPlatformIntegration::StyleHint hint) const override
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
bool hasCapability(QPlatformIntegration::Capability cap) const override
~QMinimalEglIntegration()
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
static void handleScreenAdded(QPlatformScreen *screen, bool isPrimary=false)
Should be called by the implementation whenever a new screen is added.
static void handleScreenRemoved(QPlatformScreen *screen)
Should be called by the implementation whenever a screen is removed.
Event dispatcher for Windows.
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)