summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@theqtcompany.com>2015-11-23 13:11:07 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2015-11-24 14:26:55 +0000
commit849ee6c976ba3574b1856eb9d16c2bd740a6d2e3 (patch)
tree46764cc357eb18130041afbdb277c796620c6534
parentc7aa0be29858649b7c8ab8cae0aaae4ebedfad82 (diff)
Move OpenGL/EGL headers into 3rdparty folder
These headers are actually 3rd party code since they come directly from the Khronos Group. This fixes issues with the license checker as well. Documentation and build script are updated to reflect the change in the header location. Change-Id: I1e513d7be580dcc3ea987d7fd0a5049fd7255d4e Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
-rw-r--r--src/doc/src/qtquick2drenderer-installation-guide.qdoc2
-rw-r--r--tools/opengldummy/3rdparty/include/EGL/egl.h (renamed from tools/opengldummy/include/EGL/egl.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/EGL/eglext.h (renamed from tools/opengldummy/include/EGL/eglext.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/EGL/eglplatform.h (renamed from tools/opengldummy/include/EGL/eglplatform.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES2/gl2.h (renamed from tools/opengldummy/include/GLES2/gl2.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES2/gl2ext.h (renamed from tools/opengldummy/include/GLES2/gl2ext.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES2/gl2platform.h (renamed from tools/opengldummy/include/GLES2/gl2platform.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES3/gl3.h (renamed from tools/opengldummy/include/GLES3/gl3.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES3/gl31.h (renamed from tools/opengldummy/include/GLES3/gl31.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/GLES3/gl3platform.h (renamed from tools/opengldummy/include/GLES3/gl3platform.h)0
-rw-r--r--tools/opengldummy/3rdparty/include/KHR/khrplatform.h (renamed from tools/opengldummy/include/KHR/khrplatform.h)0
-rw-r--r--tools/opengldummy/README2
-rwxr-xr-xtools/opengldummy/src/build-gcc.sh4
13 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/src/qtquick2drenderer-installation-guide.qdoc b/src/doc/src/qtquick2drenderer-installation-guide.qdoc
index 1870964..e18b092 100644
--- a/src/doc/src/qtquick2drenderer-installation-guide.qdoc
+++ b/src/doc/src/qtquick2drenderer-installation-guide.qdoc
@@ -87,7 +87,7 @@
Copy the include folder to the /usr/include folder in your sysroot. This
installs the OpenGL/EGL headers:
\badcode
- cp -r include/* ${SYSROOT}/usr/include/
+ cp -r 3rdparty/include/* ${SYSROOT}/usr/include/
\endcode
Copy \c libEGL.so and \c libGLESv2.so to the /usr/lib folder in your sysroot:
\badcode
diff --git a/tools/opengldummy/include/EGL/egl.h b/tools/opengldummy/3rdparty/include/EGL/egl.h
index 99ea342..99ea342 100644
--- a/tools/opengldummy/include/EGL/egl.h
+++ b/tools/opengldummy/3rdparty/include/EGL/egl.h
diff --git a/tools/opengldummy/include/EGL/eglext.h b/tools/opengldummy/3rdparty/include/EGL/eglext.h
index a392b31..a392b31 100644
--- a/tools/opengldummy/include/EGL/eglext.h
+++ b/tools/opengldummy/3rdparty/include/EGL/eglext.h
diff --git a/tools/opengldummy/include/EGL/eglplatform.h b/tools/opengldummy/3rdparty/include/EGL/eglplatform.h
index bcbda98..bcbda98 100644
--- a/tools/opengldummy/include/EGL/eglplatform.h
+++ b/tools/opengldummy/3rdparty/include/EGL/eglplatform.h
diff --git a/tools/opengldummy/include/GLES2/gl2.h b/tools/opengldummy/3rdparty/include/GLES2/gl2.h
index f6bed7d..f6bed7d 100644
--- a/tools/opengldummy/include/GLES2/gl2.h
+++ b/tools/opengldummy/3rdparty/include/GLES2/gl2.h
diff --git a/tools/opengldummy/include/GLES2/gl2ext.h b/tools/opengldummy/3rdparty/include/GLES2/gl2ext.h
index 36801be..36801be 100644
--- a/tools/opengldummy/include/GLES2/gl2ext.h
+++ b/tools/opengldummy/3rdparty/include/GLES2/gl2ext.h
diff --git a/tools/opengldummy/include/GLES2/gl2platform.h b/tools/opengldummy/3rdparty/include/GLES2/gl2platform.h
index 89d4d44..89d4d44 100644
--- a/tools/opengldummy/include/GLES2/gl2platform.h
+++ b/tools/opengldummy/3rdparty/include/GLES2/gl2platform.h
diff --git a/tools/opengldummy/include/GLES3/gl3.h b/tools/opengldummy/3rdparty/include/GLES3/gl3.h
index 81b63bd..81b63bd 100644
--- a/tools/opengldummy/include/GLES3/gl3.h
+++ b/tools/opengldummy/3rdparty/include/GLES3/gl3.h
diff --git a/tools/opengldummy/include/GLES3/gl31.h b/tools/opengldummy/3rdparty/include/GLES3/gl31.h
index 6fe473d..6fe473d 100644
--- a/tools/opengldummy/include/GLES3/gl31.h
+++ b/tools/opengldummy/3rdparty/include/GLES3/gl31.h
diff --git a/tools/opengldummy/include/GLES3/gl3platform.h b/tools/opengldummy/3rdparty/include/GLES3/gl3platform.h
index b1e869d..b1e869d 100644
--- a/tools/opengldummy/include/GLES3/gl3platform.h
+++ b/tools/opengldummy/3rdparty/include/GLES3/gl3platform.h
diff --git a/tools/opengldummy/include/KHR/khrplatform.h b/tools/opengldummy/3rdparty/include/KHR/khrplatform.h
index d976ab5..d976ab5 100644
--- a/tools/opengldummy/include/KHR/khrplatform.h
+++ b/tools/opengldummy/3rdparty/include/KHR/khrplatform.h
diff --git a/tools/opengldummy/README b/tools/opengldummy/README
index e00a681..c8ca2dc 100644
--- a/tools/opengldummy/README
+++ b/tools/opengldummy/README
@@ -34,7 +34,7 @@ Target image inteded to be deployed to your device.
2) Installation of files
Copy the include folder to the /usr/include folder in your sysroot. This
installs the OpenGL/EGL headers:
- cp -r include/* ${SYSROOT}/usr/include/
+ cp -r 3rdparty/include/* ${SYSROOT}/usr/include/
Copy libEGL.so and libGLESv2.so to the /usr/lib folder in your sysroot:
cp src/lib*.so ${SYSROOT}/usr/lib/
diff --git a/tools/opengldummy/src/build-gcc.sh b/tools/opengldummy/src/build-gcc.sh
index 6e0e266..687807d 100755
--- a/tools/opengldummy/src/build-gcc.sh
+++ b/tools/opengldummy/src/build-gcc.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared --sysroot ${SYSROOT} -I../include -o libEGL.so egl.cpp
-${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared --sysroot ${SYSROOT} -I../include -o libGLESv2.so gles2.cpp
+${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared --sysroot ${SYSROOT} -I../3rdparty/include -o libEGL.so egl.cpp
+${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared --sysroot ${SYSROOT} -I../3rdparty/include -o libGLESv2.so gles2.cpp