summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.h
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-06-06 13:57:09 -0700
committerQt by Nokia <qt-info@nokia.com>2012-06-12 04:29:49 +0200
commite9df01d3db83ec4ba64c99c92495e6dd0e201420 (patch)
tree11ed60d01ae457b676d9be854762c58b9b178da3 /src/plugins/platforms/eglfs/qeglfsscreen.h
parent040f30decd24c32f71f14eeaed5fdcd58b2dce3d (diff)
eglfs refactor: move window creation into qeglfswindow
This potentially allows the creation of multiple QWindows. The platform context is now in a seperate file and the integration provides a new instance of the context allowing creation of multiple contexts. Change-Id: If2b6fa29b573d87c0a4cd0a8eff1f044bd1ff9b8 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> 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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h
index 9b67e29763..518a5c6478 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.h
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.h
@@ -67,17 +67,10 @@ public:
QPlatformOpenGLContext *platformContext() const;
- EGLSurface surface() const { return m_surface; }
EGLDisplay display() const { return m_dpy; }
private:
- void createAndSetPlatformContext() const;
- void createAndSetPlatformContext();
-
EGLDisplay m_dpy;
- QPlatformOpenGLContext *m_platformContext;
- EGLSurface m_surface;
- EGLNativeWindowType m_window;
QEglFSCursor *m_cursor;
};