diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-20 10:14:20 +0200 |
|---|---|---|
| committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2014-11-20 11:22:37 +0200 |
| commit | 21bad4d54bea4d7c0891829c7de56bd24e2afca8 (patch) | |
| tree | 30f1fde989173b8327e5f15b9e91404b19b6d0cf /recipes/opengldummy/opengldummy.inc | |
| parent | d93b061d7592637edb6c20da7f4d5f1ee7a9f12d (diff) | |
| download | meta-boot2qt-21bad4d54bea4d7c0891829c7de56bd24e2afca8.tar.gz | |
Common dummy OpenGL implementation
Use common sources and headers to provide both dummy OpenGL libs and
QtGlesStream lib.
Change-Id: Ia71c3ffd7b1f45bf5eea5ac78027c8439855aac5
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'recipes/opengldummy/opengldummy.inc')
| -rw-r--r-- | recipes/opengldummy/opengldummy.inc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/opengldummy/opengldummy.inc b/recipes/opengldummy/opengldummy.inc new file mode 100644 index 0000000..3e24058 --- /dev/null +++ b/recipes/opengldummy/opengldummy.inc | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | ############################################################################# | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
| 4 | ## | ||
| 5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
| 6 | ## framework. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE$ | ||
| 9 | ## Commercial License Usage Only | ||
| 10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
| 11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
| 12 | ## may use this file in accordance with the terms contained in said license | ||
| 13 | ## agreement. | ||
| 14 | ## | ||
| 15 | ## For further information use the contact form at | ||
| 16 | ## http://qt.digia.com/contact-us. | ||
| 17 | ## | ||
| 18 | ## | ||
| 19 | ## $QT_END_LICENSE$ | ||
| 20 | ## | ||
| 21 | ############################################################################# | ||
| 22 | |||
| 23 | PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl" | ||
| 24 | |||
| 25 | SRC_URI = "file://headers \ | ||
| 26 | file://egl.cpp \ | ||
| 27 | file://gles2.cpp \ | ||
| 28 | " | ||
| 29 | |||
| 30 | FILES_${PN} = "${libdir}" | ||
| 31 | FILES_${PN}-dev = "${includedir}/" | ||
| 32 | |||
| 33 | do_install() { | ||
| 34 | install -m 0755 -d ${D}${includedir}/EGL | ||
| 35 | install -m 0755 ${WORKDIR}/headers/EGL/* ${D}${includedir}/EGL | ||
| 36 | |||
| 37 | install -m 0755 -d ${D}${includedir}/GLES2 | ||
| 38 | install -m 0755 ${WORKDIR}/headers/GLES2/* ${D}${includedir}/GLES2 | ||
| 39 | |||
| 40 | install -m 0755 -d ${D}${includedir}/GLES3 | ||
| 41 | install -m 0755 ${WORKDIR}/headers/GLES3/* ${D}${includedir}/GLES3 | ||
| 42 | |||
| 43 | install -m 0755 -d ${D}${includedir}/KHR | ||
| 44 | install -m 0755 ${WORKDIR}/headers/KHR/* ${D}${includedir}/KHR | ||
| 45 | } | ||
