diff options
author | Jorgen Lind <jorgen.lind@digia.com> | 2013-11-21 14:46:38 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-27 15:32:48 +0100 |
commit | 5361e7778c31ad8da53be2c394faba6c2f3b7f3d (patch) | |
tree | 0869806d379c8ef610257a1248d41599d4fc0488 /src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h | |
parent | ab30cabb6383413ee3b2913615d75082c0c55686 (diff) |
Change constructor of QWaylandClientBufferIntegration
For QWaylandClientBufferIntegrations to be loadable from plugins the
constructor shold not take any arguments, but give the display in
the initialize function
Change-Id: Ie38555120d7f29c6ba7eef0f095837235782684d
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h')
-rw-r--r-- | src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h index 15964c999..6b4719b7d 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h @@ -54,14 +54,14 @@ class QWindow; class QWaylandEglClientBufferIntegration : public QWaylandClientBufferIntegration { public: - QWaylandEglClientBufferIntegration(QWaylandDisplay *display); + QWaylandEglClientBufferIntegration(); ~QWaylandEglClientBufferIntegration(); - void initialize(); - bool supportsThreadedOpenGL() const; + void initialize(QWaylandDisplay *display) Q_DECL_OVERRIDE; + bool supportsThreadedOpenGL() const Q_DECL_OVERRIDE; - QWaylandWindow *createEglWindow(QWindow *window); - QPlatformOpenGLContext *createPlatformOpenGLContext(const QSurfaceFormat &glFormat, QPlatformOpenGLContext *share) const; + QWaylandWindow *createEglWindow(QWindow *window) Q_DECL_OVERRIDE; + QPlatformOpenGLContext *createPlatformOpenGLContext(const QSurfaceFormat &glFormat, QPlatformOpenGLContext *share) const Q_DECL_OVERRIDE; EGLDisplay eglDisplay() const; |