diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-10-29 14:11:29 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-11-02 09:43:29 +0000 |
commit | 317b9e9c5fd4ba318658cce2bdef3ef82e1dd288 (patch) | |
tree | 9063161f48fe4082f6c73b591bb7aeabc2f90cc3 /src/plugins/platforms/eglfs/qeglfsdeviceintegration.h | |
parent | ab1a5f10039429e9114cd905716b31bbec601d60 (diff) |
Support for Wayland servers on i.MX6
A wayland compositor on i.MX6 needs to create the wl_display
before creating the EGL display. This wl_display then needs to be
exposed so that QWaylandCompositor can use it.
Change-Id: Id60f6dd2fbba05140ca0671da6f17dbc2ecce3a3
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsdeviceintegration.h')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsdeviceintegration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsdeviceintegration.h b/src/plugins/platforms/eglfs/qeglfsdeviceintegration.h index d91d67de16..97082df7f5 100644 --- a/src/plugins/platforms/eglfs/qeglfsdeviceintegration.h +++ b/src/plugins/platforms/eglfs/qeglfsdeviceintegration.h @@ -97,6 +97,8 @@ public: virtual int framebufferIndex() const; virtual bool supportsPBuffers() const; virtual bool supportsSurfacelessContexts() const; + + virtual void *wlDisplay() const; }; class Q_EGLFS_EXPORT QEGLDeviceIntegrationPlugin : public QObject |