summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro
diff options
context:
space:
mode:
authorDaniel Nyström <daniel.nystrom@timeterminal.se>2015-09-16 11:32:57 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-09-25 10:15:04 +0000
commit58bed4cda98e8e25db8adc61c7db73b6853077dc (patch)
tree822608e0b642f4b193f2e6740a077a05b78a2f90 /config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro
parent5445eb35414437672715108a60d07dc413c504d6 (diff)
eglfs: Support for alternative Mali driver packages
In addition to the proprietary Mali Linux driver bundle from ARM, there are a couple of semi open source alternative bundles out in the wild, which are mostly derivatives from the sunxi-mali bundle. The non-ARM bundles lacks the proprietary header file fbdev_window.h which defines the fbdev_window struct. Instead, it has an equivalent mali_native_window struct in the EGL/eglplatform.h (which in turn is included by EGL/egl.h). This change adds an alternative configure test which detects the non-ARM bundles are used. It also removes the dependency on fbdev_window.h by defining the structure ourselves, which actually makes the plugin potentially compilable with *any* EGL SDK. Change-Id: I78ab4b618e8e9c774c889fe9896105cf2cf4228e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro')
-rw-r--r--config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro b/config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro
new file mode 100644
index 0000000000..85bcf6484a
--- /dev/null
+++ b/config.tests/qpa/eglfs-mali-2/eglfs-mali-2.pro
@@ -0,0 +1,5 @@
+SOURCES = eglfs-mali-2.cpp
+
+CONFIG -= qt
+
+LIBS += -lEGL -lGLESv2