From 24afb1097d6257063786a9e36b92e85adfa8ed74 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 16 Mar 2012 16:52:39 -0700 Subject: eglfs: Introduce hooks for the eglfs plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Samuel Rødal --- src/plugins/platforms/eglfs/eglfs.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/eglfs/eglfs.pro') diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro index c12d612c98..89d56efc82 100644 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ b/src/plugins/platforms/eglfs/eglfs.pro @@ -21,7 +21,16 @@ SOURCES = main.cpp \ HEADERS = qeglfsintegration.h \ qeglfswindow.h \ qeglfsbackingstore.h \ - qeglfsscreen.h + qeglfsscreen.h \ + qeglfs_hooks.h + +QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF + +!isEmpty(EGLFS_PLATFORM_HOOKS_SOURCES) { + HEADERS += $$EGLFS_PLATFORM_HOOKS_HEADERS + SOURCES += $$EGLFS_PLATFORM_HOOKS_SOURCES + DEFINES += EGLFS_PLATFORM_HOOKS +} CONFIG += egl qpa/genericunixfontdatabase -- cgit v1.2.3