summaryrefslogtreecommitdiff
path: root/mkspecs/devices/linux-imx6-g++
diff options
context:
space:
mode:
authorJan Arne Petersen <jan.petersen@kdab.com>2013-07-07 15:51:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-06 15:52:59 +0200
commitba77bb34ddee7f9434abae61e6f75c3d3a8e2cf9 (patch)
tree82b60a3ce33328878c253d4ee36d53faa8156cc7 /mkspecs/devices/linux-imx6-g++
parent47d27c3a535a32824f2bc80a37682712885ce5e8 (diff)
downloadqtbase-ba77bb34ddee7f9434abae61e6f75c3d3a8e2cf9.tar.gz
eglfs/imx6: Implement platformDisplay() in hooks
Return the native display created in QEglFSImx6Hooks in platformDisplay(). Change-Id: I2b28ac66dce12a1054fc2f78dbfad0723f8e5688 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'mkspecs/devices/linux-imx6-g++')
-rw-r--r--mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
index a1fd633c28..6f59b73921 100644
--- a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
+++ b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
@@ -51,6 +51,7 @@ public:
virtual QSize screenSize() const;
virtual EGLNativeWindowType createNativeWindow(const QSize &size, const QSurfaceFormat &format);
virtual void destroyNativeWindow(EGLNativeWindowType window);
+ virtual EGLNativeDisplayType platformDisplay() const;
private:
QSize mScreenSize;
@@ -72,6 +73,11 @@ QSize QEglFSImx6Hooks::screenSize() const
return mScreenSize;
}
+EGLNativeDisplayType QEglFSImx6Hooks::platformDisplay() const
+{
+ return mNativeDisplay;
+}
+
EGLNativeWindowType QEglFSImx6Hooks::createNativeWindow(const QSize &size, const QSurfaceFormat &format)
{
Q_UNUSED(format);