diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-06-01 12:04:35 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-05 18:48:16 +0200 |
commit | f35470a442286018f91cc4cdc7571a5c99926d99 (patch) | |
tree | b5d7221635aa4dd49c6d8078dd23b89c178a96cb /src/plugins/platforms/eglfs/qeglfsscreen.h | |
parent | e1774d202912b5d053872f242c61d964a5d69450 (diff) |
eglfs refactor: Move egl initialization to the integration
Change-Id: If2c870538c742fd034fb9e5c115e4ac0bd8e2e03
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.h')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsscreen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h index ba5db653ad..7b8860e9df 100644 --- a/src/plugins/platforms/eglfs/qeglfsscreen.h +++ b/src/plugins/platforms/eglfs/qeglfsscreen.h @@ -56,7 +56,7 @@ class QEglFSCursor; class QEglFSScreen : public QPlatformScreen //huh: FullScreenScreen ;) just to follow namespace { public: - QEglFSScreen(); + QEglFSScreen(EGLDisplay display); ~QEglFSScreen(); QRect geometry() const; @@ -74,11 +74,11 @@ private: void createAndSetPlatformContext() const; void createAndSetPlatformContext(); + EGLDisplay m_dpy; QRect m_geometry; int m_depth; QImage::Format m_format; QPlatformOpenGLContext *m_platformContext; - EGLDisplay m_dpy; EGLSurface m_surface; EGLNativeWindowType m_window; QEglFSCursor *m_cursor; |