diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-03-16 16:52:39 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-04 16:05:06 +0200 |
commit | 24afb1097d6257063786a9e36b92e85adfa8ed74 (patch) | |
tree | 70ad1e21cd923d8f980694ee2e794dee7bf61732 /src/plugins/platforms/eglfs/qeglfsscreen.h | |
parent | 246c16e0007473874e0407ca067c0b031c17852f (diff) |
eglfs: Introduce hooks for the eglfs plugin
EGL provides an api to create a rendering context for khronos APIs
on native surfaces. The board initialization and window creation
is platform specific.
This commit adds platform hooks/extensions to the EGLFS plugin and
implements them for the Amlogic 8726M. The hook interface is internal
and there are no ABI/API guarantees.
EGLFS is now linked with -Wl,-no-undefined to make sure that a hook does not
add unresolvable symbols.
Change-Id: I7f4fcdb422aacbf00de468f4d8e85ae5368bfacf
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h index 30ef55f13f..66e600d7c2 100644 --- a/src/plugins/platforms/eglfs/qeglfsscreen.h +++ b/src/plugins/platforms/eglfs/qeglfsscreen.h @@ -55,7 +55,7 @@ class QPlatformOpenGLContext; class QEglFSScreen : public QPlatformScreen //huh: FullScreenScreen ;) just to follow namespace { public: - QEglFSScreen(EGLNativeDisplayType display); + QEglFSScreen(); ~QEglFSScreen(); QRect geometry() const; @@ -76,6 +76,7 @@ private: QPlatformOpenGLContext *m_platformContext; EGLDisplay m_dpy; EGLSurface m_surface; + EGLNativeWindowType m_window; }; QT_END_NAMESPACE |