summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/directfb.pro
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2011-11-27 20:42:22 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-02 00:08:32 +0100
commit6534898cc69e22115cf158f71a1e0edd7f13877b (patch)
tree32aa4982f28f47365dc84ff09094e8cd8c6d02b2 /src/plugins/platforms/directfb/directfb.pro
parent614bb9c0851eb1fe21ff7a998191d551ceed6a22 (diff)
directfb: Introduce EGL integration for DirectFB
Introduce a new platform called 'directfbegl' that allows platform integration with EGL. Change the QDirectFbIntegration to make it more easy to hook up in the creation process, introduce an EGL integration with custom screen, window and EGL Platform Context. Vendors might need to add custom code to initialize EGL to be used with DirectFB, this can be done in QDirectFbScreenEGL::platformInit. Change-Id: I7bee277ede27c72437cd7c5977fa6ed85e65f538 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/directfb.pro')
-rw-r--r--src/plugins/platforms/directfb/directfb.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/directfb.pro b/src/plugins/platforms/directfb/directfb.pro
index 1fe8d0d353..0585777889 100644
--- a/src/plugins/platforms/directfb/directfb.pro
+++ b/src/plugins/platforms/directfb/directfb.pro
@@ -33,6 +33,12 @@ HEADERS = qdirectfbintegration.h \
qdirectfbscreen.h
# ### port the GL context
+directfbegl: {
+ HEADERS += qdirectfb_egl.h
+ SOURCES += qdirectfb_egl.cpp
+ DEFINES += DIRECTFB_GL_EGL
+}
+
CONFIG += qpa/genericunixfontdatabase
target.path += $$[QT_INSTALL_PLUGINS]/platforms