eglfs: Introduce hooks for the eglfs plugin
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Fri, 16 Mar 2012 23:52:39 +0000 (16:52 -0700)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Apr 2012 14:05:06 +0000 (16:05 +0200)
commit24afb1097d6257063786a9e36b92e85adfa8ed74
tree70ad1e21cd923d8f980694ee2e794dee7bf61732
parent246c16e0007473874e0407ca067c0b031c17852f
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>
mkspecs/devices/linux-arm-amlogic-8726M-g++/qeglfs_hooks_8726m.cpp [new file with mode: 0644]
mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
src/plugins/platforms/eglfs/eglfs.pro
src/plugins/platforms/eglfs/qeglfs_hooks.h [new file with mode: 0644]
src/plugins/platforms/eglfs/qeglfsintegration.cpp
src/plugins/platforms/eglfs/qeglfsscreen.cpp
src/plugins/platforms/eglfs/qeglfsscreen.h