summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2017-08-10 11:37:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-18 23:46:38 +0100
commit782cdf14e3f2d5b321efa59d8d1b93554af86516 (patch)
tree07b1e499359bc7b38b15010548c4f4b445dfbd13 /meta/recipes-graphics/mesa/files
parente0679d21f42a5c1c8f2405943eea91223c28e9c7 (diff)
downloadpoky-782cdf14e3f2d5b321efa59d8d1b93554af86516.tar.gz
mesa: update to 17.1.6
Optional installation of khrplatform.h was implemented upstream by a slightly different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch can be removed. (From OE-Core rev: 4473c9e846826bfb4f48cec9c6c7b1cad6666bb3) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/files')
-rw-r--r--meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch b/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
deleted file mode 100644
index be61e2edfe..0000000000
--- a/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 922cb47a5b950ee5545a7a3cb4cd9a88a8b15054 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 12 Jul 2017 12:21:29 +0300
4Subject: [PATCH] mapi: Only install khrplatform.h with EGL or GLES
5
6When mesa is built with "--disable-egl --disable-gles1
7--disable-gles2" the KHR platform headers are not needed.
8
9Not installing the header when not needed allows using mesa for GL
10and another implementation for GLES+EGL (as is done in practice with
11userland on raspberrypi).
12
13Upstream-Status: Pending [waiting for test results before sending]
14Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
15---
16 src/mapi/Makefile.am | 9 ++++++++-
17 1 file changed, 8 insertions(+), 1 deletion(-)
18
19diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
20index 9ff70a14fd..94c77fb82c 100644
21--- a/src/mapi/Makefile.am
22+++ b/src/mapi/Makefile.am
23@@ -188,6 +188,8 @@ es1api_libGLESv1_CM_la_LDFLAGS = \
24 $(LD_NO_UNDEFINED)
25
26 es1api_libGLESv1_CM_la_LIBADD += shared-glapi/libglapi.la
27+
28+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
29 endif
30
31 es1api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
32@@ -233,6 +235,12 @@ es2api_libGLESv2_la_LDFLAGS = \
33 $(LD_NO_UNDEFINED)
34
35 es2api_libGLESv2_la_LIBADD += shared-glapi/libglapi.la
36+
37+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
38+endif
39+
40+if HAVE_EGL
41+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
42 endif
43
44 es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
45@@ -243,4 +251,3 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
46 include $(top_srcdir)/install-lib-links.mk
47
48 khrdir = $(includedir)/KHR
49-khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
50--
512.13.2
52