diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-07-13 14:01:29 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-07-14 17:16:50 +0100 |
commit | 497a90a220086c1b23f6bd53a502adfa7bb060b9 (patch) | |
tree | b22c1227ce2d068d1825aa659d3330383d9cdc8a | |
parent | 372dc40ae390afa3d586e641952b5e639edefb8e (diff) | |
download | meta-raspberrypi-497a90a220086c1b23f6bd53a502adfa7bb060b9.tar.gz |
userland: Update to 2020-06-24 top commit
Forward port patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 files changed, 144 insertions, 78 deletions
diff --git a/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch b/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch index 21b40a3..ca39b78 100644 --- a/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch +++ b/recipes-graphics/userland/files/0001-Allow-applications-to-set-next-resource-handle.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4ffe3e0bc856ce1d2c52e84be6ea9337a5ce5410 Mon Sep 17 00:00:00 2001 | 1 | From d0956d198ceaf611314d61a0835fb5924b8a3577 Mon Sep 17 00:00:00 2001 |
2 | From: Dom Cobley <dc4@broadcom.com> | 2 | From: Dom Cobley <dc4@broadcom.com> |
3 | Date: Tue, 9 Jul 2013 09:26:26 -0400 | 3 | Date: Tue, 9 Jul 2013 09:26:26 -0400 |
4 | Subject: [PATCH] Allow applications to set next resource handle | 4 | Subject: [PATCH 01/21] Allow applications to set next resource handle |
5 | 5 | ||
6 | This patch adds provisions in userland to | 6 | This patch adds provisions in userland to |
7 | let apps callers set the next rendereing dispmanx resource. | 7 | let apps callers set the next rendereing dispmanx resource. |
@@ -203,3 +203,6 @@ index 8a5734c..51b3580 100644 | |||
203 | FN(void, eglIntSelectMipmap_impl, (EGL_SURFACE_ID_T s, int level)) | 203 | FN(void, eglIntSelectMipmap_impl, (EGL_SURFACE_ID_T s, int level)) |
204 | 204 | ||
205 | FN(void, eglIntGetColorData_impl, (EGL_SURFACE_ID_T s, KHRN_IMAGE_FORMAT_T format, uint32_t width, uint32_t height, int32_t stride, uint32_t y_offset, void *data)) | 205 | FN(void, eglIntGetColorData_impl, (EGL_SURFACE_ID_T s, KHRN_IMAGE_FORMAT_T format, uint32_t width, uint32_t height, int32_t stride, uint32_t y_offset, void *data)) |
206 | -- | ||
207 | 2.27.0 | ||
208 | |||
diff --git a/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch b/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch index 9b0dd21..d2d9b49 100644 --- a/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch +++ b/recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 21dba61f098020d1143289017841ca76995618d4 Mon Sep 17 00:00:00 2001 | 1 | From 75eb8ab4bec3e462607214d2e14c9f2eef73435f Mon Sep 17 00:00:00 2001 |
2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> |
3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 | 3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 |
4 | Subject: [PATCH] wayland: Add support for the Wayland winsys | 4 | Subject: [PATCH 02/21] wayland: Add support for the Wayland winsys |
5 | 5 | ||
6 | * Adds EGL_WL_bind_wayland_display extension | 6 | * Adds EGL_WL_bind_wayland_display extension |
7 | * Adds wayland-egl library | 7 | * Adds wayland-egl library |
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
23 | CMakeLists.txt | 11 + | 23 | CMakeLists.txt | 11 + |
24 | README.md | 4 + | 24 | README.md | 4 + |
25 | buildme | 10 +- | 25 | buildme | 10 +- |
26 | .../linux/apps/raspicam/CMakeLists.txt | 3 +- | 26 | .../linux/apps/raspicam/CMakeLists.txt | 2 +- |
27 | interface/khronos/CMakeLists.txt | 54 +++- | 27 | interface/khronos/CMakeLists.txt | 54 +++- |
28 | interface/khronos/common/khrn_client.c | 15 ++ | 28 | interface/khronos/common/khrn_client.c | 15 ++ |
29 | interface/khronos/common/khrn_client.h | 10 + | 29 | interface/khronos/common/khrn_client.h | 10 + |
@@ -49,7 +49,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
49 | interface/vmcs_host/vc_vchi_dispmanx.h | 15 ++ | 49 | interface/vmcs_host/vc_vchi_dispmanx.h | 15 ++ |
50 | interface/wayland/dispmanx.xml | 123 +++++++++ | 50 | interface/wayland/dispmanx.xml | 123 +++++++++ |
51 | makefiles/cmake/Wayland.cmake | 72 +++++ | 51 | makefiles/cmake/Wayland.cmake | 72 +++++ |
52 | 30 files changed, 1258 insertions(+), 99 deletions(-) | 52 | 30 files changed, 1257 insertions(+), 99 deletions(-) |
53 | create mode 100644 interface/khronos/common/linux/khrn_wayland.c | 53 | create mode 100644 interface/khronos/common/linux/khrn_wayland.c |
54 | copy interface/{vmcs_host/vc_vchi_dispmanx.h => khronos/common/linux/khrn_wayland.h} (56%) | 54 | copy interface/{vmcs_host/vc_vchi_dispmanx.h => khronos/common/linux/khrn_wayland.h} (56%) |
55 | create mode 100644 interface/khronos/ext/egl_wayland.c | 55 | create mode 100644 interface/khronos/ext/egl_wayland.c |
@@ -69,10 +69,10 @@ index 63570f1..1459436 100644 | |||
69 | *.mkv | 69 | *.mkv |
70 | +*~ | 70 | +*~ |
71 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 71 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
72 | index d8ba238..8c5bf5f 100644 | 72 | index fe67fc8..80337b2 100644 |
73 | --- a/CMakeLists.txt | 73 | --- a/CMakeLists.txt |
74 | +++ b/CMakeLists.txt | 74 | +++ b/CMakeLists.txt |
75 | @@ -20,6 +20,17 @@ include(makefiles/cmake/global_settings.cmake) | 75 | @@ -24,6 +24,17 @@ include(makefiles/cmake/global_settings.cmake) |
76 | include(makefiles/cmake/arm-linux.cmake) | 76 | include(makefiles/cmake/arm-linux.cmake) |
77 | include(makefiles/cmake/vmcs.cmake) | 77 | include(makefiles/cmake/vmcs.cmake) |
78 | 78 | ||
@@ -133,19 +133,18 @@ index 9e2d405..7b8c0d6 100755 | |||
133 | 133 | ||
134 | if [ "$1" != "" ]; then | 134 | if [ "$1" != "" ]; then |
135 | diff --git a/host_applications/linux/apps/raspicam/CMakeLists.txt b/host_applications/linux/apps/raspicam/CMakeLists.txt | 135 | diff --git a/host_applications/linux/apps/raspicam/CMakeLists.txt b/host_applications/linux/apps/raspicam/CMakeLists.txt |
136 | index 656a9a0..4b0a888 100644 | 136 | index eb1ef7c..5aeeb2e 100644 |
137 | --- a/host_applications/linux/apps/raspicam/CMakeLists.txt | 137 | --- a/host_applications/linux/apps/raspicam/CMakeLists.txt |
138 | +++ b/host_applications/linux/apps/raspicam/CMakeLists.txt | 138 | +++ b/host_applications/linux/apps/raspicam/CMakeLists.txt |
139 | @@ -59,7 +59,8 @@ add_executable(raspivid ${COMMON_SOURCES} RaspiVid.c) | 139 | @@ -61,7 +61,7 @@ add_executable(raspivid ${COMMON_SOURCES} RaspiVid.c) |
140 | add_executable(raspividyuv ${COMMON_SOURCES} RaspiVidYUV.c) | 140 | add_executable(raspividyuv ${COMMON_SOURCES} RaspiVidYUV.c) |
141 | 141 | ||
142 | set (MMAL_LIBS mmal_core mmal_util mmal_vc_client) | 142 | set (MMAL_LIBS mmal_core mmal_util mmal_vc_client) |
143 | -target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl) | 143 | -target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl) |
144 | + | ||
145 | +target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl ${WAYLAND_SERVER_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES}) | 144 | +target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl ${WAYLAND_SERVER_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES}) |
146 | target_link_libraries(raspiyuv ${MMAL_LIBS} vcos bcm_host) | 145 | target_link_libraries(raspiyuv ${MMAL_LIBS} vcos bcm_host m) |
147 | target_link_libraries(raspivid ${MMAL_LIBS} vcos bcm_host) | 146 | target_link_libraries(raspivid ${MMAL_LIBS} vcos bcm_host m) |
148 | target_link_libraries(raspividyuv ${MMAL_LIBS} vcos bcm_host) | 147 | target_link_libraries(raspividyuv ${MMAL_LIBS} vcos bcm_host m) |
149 | diff --git a/interface/khronos/CMakeLists.txt b/interface/khronos/CMakeLists.txt | 148 | diff --git a/interface/khronos/CMakeLists.txt b/interface/khronos/CMakeLists.txt |
150 | index 9ad615b..95c0e11 100644 | 149 | index 9ad615b..95c0e11 100644 |
151 | --- a/interface/khronos/CMakeLists.txt | 150 | --- a/interface/khronos/CMakeLists.txt |
@@ -1894,3 +1893,6 @@ index 0000000..ad90d30 | |||
1894 | + list(APPEND ${_sources} "${_server_header}") | 1893 | + list(APPEND ${_sources} "${_server_header}") |
1895 | + set(${_sources} ${${_sources}} PARENT_SCOPE) | 1894 | + set(${_sources} ${${_sources}} PARENT_SCOPE) |
1896 | +endfunction() | 1895 | +endfunction() |
1896 | -- | ||
1897 | 2.27.0 | ||
1898 | |||
diff --git a/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch index b995769..59fc366 100644 --- a/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch +++ b/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From d2fd39ea43f948feba34e895600afd801e03691f Mon Sep 17 00:00:00 2001 | 1 | From 3b568db9460c0359e8bda8256aa2161e5aafe07c Mon Sep 17 00:00:00 2001 |
2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2 | From: Tomeu Vizoso <tomeu.vizoso@collabora.com> |
3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 | 3 | Date: Tue, 1 Oct 2013 13:19:20 +0200 |
4 | Subject: [PATCH] wayland: Add Wayland example | 4 | Subject: [PATCH 03/21] wayland: Add Wayland example |
5 | 5 | ||
6 | --- | 6 | --- |
7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + | 7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + |
8 | .../linux/apps/hello_pi/Makefile | 2 + | ||
8 | .../hello_pi/hello_wayland/CMakeLists.txt | 8 + | 9 | .../hello_pi/hello_wayland/CMakeLists.txt | 8 + |
9 | .../hello_pi/hello_wayland/Djenne_128_128.raw | 3 + | 10 | .../hello_pi/hello_wayland/Djenne_128_128.raw | 3 + |
10 | .../apps/hello_pi/hello_wayland/Makefile | 5 + | 11 | .../apps/hello_pi/hello_wayland/Makefile | 5 + |
11 | .../hello_wayland/cube_texture_and_coords.h | 100 +++ | 12 | .../hello_wayland/cube_texture_and_coords.h | 100 +++ |
12 | .../apps/hello_pi/hello_wayland/triangle.c | 666 ++++++++++++++++++ | 13 | .../apps/hello_pi/hello_wayland/triangle.c | 666 ++++++++++++++++++ |
13 | .../linux/apps/hello_pi/rebuild.sh | 3 +- | 14 | 7 files changed, 785 insertions(+) |
14 | 7 files changed, 785 insertions(+), 1 deletion(-) | ||
15 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt | 15 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt |
16 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/Djenne_128_128.raw | 16 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/Djenne_128_128.raw |
17 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/Makefile | 17 | create mode 100644 host_applications/linux/apps/hello_pi/hello_wayland/Makefile |
@@ -30,6 +30,24 @@ index b28a94a..2849fad 100644 | |||
30 | 30 | ||
31 | if(BUILD_FONT) | 31 | if(BUILD_FONT) |
32 | set(VGFONT_SRCS libs/vgfont/font.c libs/vgfont/vgft.c libs/vgfont/graphics.c) | 32 | set(VGFONT_SRCS libs/vgfont/font.c libs/vgfont/vgft.c libs/vgfont/graphics.c) |
33 | diff --git a/host_applications/linux/apps/hello_pi/Makefile b/host_applications/linux/apps/hello_pi/Makefile | ||
34 | index 4c2b2ef..d2b2555 100644 | ||
35 | --- a/host_applications/linux/apps/hello_pi/Makefile | ||
36 | +++ b/host_applications/linux/apps/hello_pi/Makefile | ||
37 | @@ -24,6 +24,7 @@ apps: libs/ilclient/libilclient.a libs/vgfont/libvgfont.a libs/revision/librevis | ||
38 | $(MAKE) -C hello_teapot | ||
39 | $(MAKE) -C hello_fft | ||
40 | $(MAKE) -C hello_mmal_encode | ||
41 | + $(MAKE) -C hello_wayland | ||
42 | |||
43 | clean: | ||
44 | $(MAKE) -C libs/ilclient clean | ||
45 | @@ -43,4 +44,5 @@ clean: | ||
46 | $(MAKE) -C hello_teapot clean | ||
47 | $(MAKE) -C hello_fft clean | ||
48 | $(MAKE) -C hello_mmal_encode clean | ||
49 | + $(MAKE) -C hello_wayland clean | ||
50 | |||
33 | diff --git a/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt b/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt | 51 | diff --git a/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt b/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt |
34 | new file mode 100644 | 52 | new file mode 100644 |
35 | index 0000000..9a2f75c | 53 | index 0000000..9a2f75c |
@@ -843,21 +861,6 @@ index 0000000..1a7bfc4 | |||
843 | + return 0; | 861 | + return 0; |
844 | +} | 862 | +} |
845 | + | 863 | + |
846 | diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh b/host_applications/linux/apps/hello_pi/rebuild.sh | 864 | -- |
847 | index 8225dd5..0be6ce7 100755 | 865 | 2.27.0 |
848 | --- a/host_applications/linux/apps/hello_pi/rebuild.sh | 866 | |
849 | +++ b/host_applications/linux/apps/hello_pi/rebuild.sh | ||
850 | @@ -14,6 +14,7 @@ make -C hello_videocube clean | ||
851 | make -C hello_teapot clean | ||
852 | make -C hello_fft clean | ||
853 | make -C hello_mmal_encode clean | ||
854 | +make -C hello_wayland clean | ||
855 | |||
856 | make -C libs/ilclient | ||
857 | make -C libs/vgfont | ||
858 | @@ -31,4 +32,4 @@ make -C hello_videocube | ||
859 | make -C hello_teapot | ||
860 | make -C hello_fft | ||
861 | make -C hello_mmal_encode | ||
862 | - | ||
863 | +make -C hello_wayland | ||
diff --git a/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch b/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch index b081468..ac4c513 100644 --- a/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch +++ b/recipes-graphics/userland/files/0004-wayland-egl-Add-bcm_host-to-dependencies.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 53ef88cdb879050fc6f5247e7ca05260af69f2e8 Mon Sep 17 00:00:00 2001 | 1 | From 3ce83fc1d4974d4db15ff72b4e856a29c60dbb83 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Mon, 10 Aug 2015 02:38:27 -0700 | 3 | Date: Mon, 10 Aug 2015 02:38:27 -0700 |
4 | Subject: [PATCH] wayland-egl: Add bcm_host to dependencies | 4 | Subject: [PATCH 04/21] wayland-egl: Add bcm_host to dependencies |
5 | 5 | ||
6 | It uses headers like vcos_platform_types.h but does not | 6 | It uses headers like vcos_platform_types.h but does not |
7 | depend on module which should add the required include paths | 7 | depend on module which should add the required include paths |
@@ -23,3 +23,6 @@ index 8bafc15..fd259c9 100644 | |||
23 | +Requires: bcm_host | 23 | +Requires: bcm_host |
24 | Libs: -L${libdir} -lwayland-egl | 24 | Libs: -L${libdir} -lwayland-egl |
25 | Cflags: -I${includedir} | 25 | Cflags: -I${includedir} |
26 | -- | ||
27 | 2.27.0 | ||
28 | |||
diff --git a/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch b/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch index 27e69a9..33d4a55 100644 --- a/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch +++ b/recipes-graphics/userland/files/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | From 237b9690154d2840d02aa927c56d80ef43f384b3 Mon Sep 17 00:00:00 2001 | 1 | From cf4d2dba7150aad7f85eb7f5df0b0cfa9389da57 Mon Sep 17 00:00:00 2001 |
2 | From: "Yann E. MORIN" <yann.morin.1998@free.fr> | 2 | From: "Yann E. MORIN" <yann.morin.1998@free.fr> |
3 | Date: Sat, 24 Jan 2015 22:07:19 +0100 | 3 | Date: Sat, 24 Jan 2015 22:07:19 +0100 |
4 | Subject: [PATCH] interface: remove faulty assert() to make weston happy at | 4 | Subject: [PATCH 05/21] interface: remove faulty assert() to make weston happy |
5 | runtime | 5 | at runtime |
6 | 6 | ||
7 | This was removed after a discussion on IRC with the weston guys | 7 | This was removed after a discussion on IRC with the weston guys |
8 | ('daniels' on irc.freenode.net/#wayland). | 8 | ('daniels' on irc.freenode.net/#wayland). |
@@ -24,3 +24,6 @@ index eab146e..29e0dee 100755 | |||
24 | dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param); | 24 | dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param); |
25 | } | 25 | } |
26 | } else { | 26 | } else { |
27 | -- | ||
28 | 2.27.0 | ||
29 | |||
diff --git a/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch b/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch index 872bc7b..690d51d 100644 --- a/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch +++ b/recipes-graphics/userland/files/0006-zero-out-wl-buffers-in-egl_surface_free.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5acedbd1d27fe528687f27173d2af9b1786f580d Mon Sep 17 00:00:00 2001 | 1 | From ce90048cb25a0c2c49c585ce3a4cd8c73a8ff55b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:10:47 -0800 | 3 | Date: Sat, 6 Feb 2016 11:10:47 -0800 |
4 | Subject: [PATCH] zero-out wl buffers in egl_surface_free | 4 | Subject: [PATCH 06/21] zero-out wl buffers in egl_surface_free |
5 | 5 | ||
6 | origins from buildroot | 6 | origins from buildroot |
7 | 7 | ||
@@ -28,3 +28,6 @@ index 42350bf..1f923d9 100644 | |||
28 | } | 28 | } |
29 | #endif | 29 | #endif |
30 | } | 30 | } |
31 | -- | ||
32 | 2.27.0 | ||
33 | |||
diff --git a/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch b/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch index 0494e6e..d964ed5 100644 --- a/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch +++ b/recipes-graphics/userland/files/0007-initialize-front-back-wayland-buffers.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9159eff795a8ef3be0b3bfd554ef1aa23340884d Mon Sep 17 00:00:00 2001 | 1 | From 7f7e5b87104134b6710985c5f1c5936a59cccc98 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:11:41 -0800 | 3 | Date: Sat, 6 Feb 2016 11:11:41 -0800 |
4 | Subject: [PATCH] initialize front back wayland buffers | 4 | Subject: [PATCH 07/21] initialize front back wayland buffers |
5 | 5 | ||
6 | origins from metrological wayland support | 6 | origins from metrological wayland support |
7 | 7 | ||
@@ -29,3 +29,6 @@ index 1f923d9..9a9582c 100644 | |||
29 | resource = DISPMANX_NO_HANDLE; | 29 | resource = DISPMANX_NO_HANDLE; |
30 | } | 30 | } |
31 | #endif | 31 | #endif |
32 | -- | ||
33 | 2.27.0 | ||
34 | |||
diff --git a/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch b/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch index 68875eb..d9aba5e 100644 --- a/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch +++ b/recipes-graphics/userland/files/0008-Remove-RPC_FLUSH.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 581742c1edf89d4ed3728a3c6d59484ced4234cc Mon Sep 17 00:00:00 2001 | 1 | From 2291cf20017c297e6ed3afd56945cf8768c9901e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 11:09:18 -0800 | 3 | Date: Sat, 6 Feb 2016 11:09:18 -0800 |
4 | Subject: [PATCH] Remove RPC_FLUSH | 4 | Subject: [PATCH 08/21] Remove RPC_FLUSH |
5 | 5 | ||
6 | Origins from buildroot | 6 | Origins from buildroot |
7 | 7 | ||
@@ -22,3 +22,6 @@ index f9b7287..b04ffef 100644 | |||
22 | #if EGL_BRCM_global_image | 22 | #if EGL_BRCM_global_image |
23 | } | 23 | } |
24 | #endif | 24 | #endif |
25 | -- | ||
26 | 2.27.0 | ||
27 | |||
diff --git a/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch b/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch index fceeb6e..898408b 100644 --- a/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch +++ b/recipes-graphics/userland/files/0009-fix-cmake-dependency-race.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From acc4ffbb0f2a64e82b9cceda201a59df969e1d0f Mon Sep 17 00:00:00 2001 | 1 | From 736f489743b4a761afc928cbac197b28b3209bf1 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Feb 2016 13:12:47 -0800 | 3 | Date: Sat, 6 Feb 2016 13:12:47 -0800 |
4 | Subject: [PATCH] fix cmake dependency race | 4 | Subject: [PATCH 09/21] fix cmake dependency race |
5 | 5 | ||
6 | Fixes errors like | 6 | Fixes errors like |
7 | 7 | ||
@@ -73,3 +73,6 @@ index f0bae30..8c44c58 100644 | |||
73 | struct wl_dispmanx_server_buffer { | 73 | struct wl_dispmanx_server_buffer { |
74 | struct wl_resource *resource; | 74 | struct wl_resource *resource; |
75 | struct wl_dispmanx *dispmanx; | 75 | struct wl_dispmanx *dispmanx; |
76 | -- | ||
77 | 2.27.0 | ||
78 | |||
diff --git a/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch index 0ddef97..37f6abb 100644 --- a/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch +++ b/recipes-graphics/userland/files/0010-Fix-for-framerate-with-nested-composition.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 0af26805c35c6a600a13ed106bbc7cf85a37ce66 Mon Sep 17 00:00:00 2001 | 1 | From 450341ccd98801be1c3dc648e18211177f81a60d Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 29 Mar 2016 20:38:30 -0700 | 3 | Date: Tue, 29 Mar 2016 20:38:30 -0700 |
4 | Subject: [PATCH] Fix for framerate with nested composition | 4 | Subject: [PATCH 10/21] Fix for framerate with nested composition |
5 | 5 | ||
6 | frame rate appears irregular and lower than expected when using nested composition. | 6 | frame rate appears irregular and lower than expected when using nested composition. |
7 | 7 | ||
@@ -55,3 +55,6 @@ index 03fe67b..13a110c 100644 | |||
55 | 55 | ||
56 | #ifdef ANDROID | 56 | #ifdef ANDROID |
57 | CLIENT_UNLOCK(); | 57 | CLIENT_UNLOCK(); |
58 | -- | ||
59 | 2.27.0 | ||
60 | |||
diff --git a/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch b/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch index 6e2f658..77f9ccb 100644 --- a/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch +++ b/recipes-graphics/userland/files/0011-build-shared-library-for-vchostif.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6172dbb6fd7cf821471d721569abe9a0de0d869d Mon Sep 17 00:00:00 2001 | 1 | From 13f2a4d1c6b6e79389ac3aa64512d78882a11b2f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 2 Apr 2016 10:37:24 -0700 | 3 | Date: Sat, 2 Apr 2016 10:37:24 -0700 |
4 | Subject: [PATCH] build shared library for vchostif | 4 | Subject: [PATCH 11/21] build shared library for vchostif |
5 | 5 | ||
6 | Fixes #149 | 6 | Fixes #149 |
7 | 7 | ||
@@ -23,3 +23,6 @@ index 16d3184..e54f046 100755 | |||
23 | 23 | ||
24 | #add_library(bufman vc_vchi_bufman.c ) | 24 | #add_library(bufman vc_vchi_bufman.c ) |
25 | set(INSTALL_TARGETS vchostif) | 25 | set(INSTALL_TARGETS vchostif) |
26 | -- | ||
27 | 2.27.0 | ||
28 | |||
diff --git a/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch b/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch index 19939e0..53403d7 100644 --- a/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch +++ b/recipes-graphics/userland/files/0012-implement-buffer-wrapping-interface-for-dispmanx.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From efd80d2b278c326cc3dae7eeb1fed6c4dd12a8a6 Mon Sep 17 00:00:00 2001 | 1 | From a09feea5ceb0af717c17a3a7df8a638f8e858f52 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 2 Apr 2016 10:54:59 -0700 | 3 | Date: Sat, 2 Apr 2016 10:54:59 -0700 |
4 | Subject: [PATCH] implement buffer wrapping interface for dispmanx | 4 | Subject: [PATCH 12/21] implement buffer wrapping interface for dispmanx |
5 | 5 | ||
6 | Courtesy: Zan Dobersek | 6 | Courtesy: Zan Dobersek |
7 | 7 | ||
@@ -87,3 +87,6 @@ index c18626d..11ed1ef 100644 | |||
87 | </interface> | 87 | </interface> |
88 | 88 | ||
89 | </protocol> | 89 | </protocol> |
90 | -- | ||
91 | 2.27.0 | ||
92 | |||
diff --git a/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch b/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch index 3df1f6d..d5702cb 100644 --- a/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch +++ b/recipes-graphics/userland/files/0013-Implement-triple-buffering-for-wayland.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2e1e3c857cdf365c5a13bcd5d09685cf12f8047c Mon Sep 17 00:00:00 2001 | 1 | From dd8017ebccfa9c439a4e8dd501872e2052016f10 Mon Sep 17 00:00:00 2001 |
2 | From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> | 2 | From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> |
3 | Date: Thu, 19 Jan 2017 18:56:07 +0000 | 3 | Date: Thu, 19 Jan 2017 18:56:07 +0000 |
4 | Subject: [PATCH] Implement triple buffering for wayland | 4 | Subject: [PATCH 13/21] Implement triple buffering for wayland |
5 | 5 | ||
6 | Change from double to triple buffering for wayland. | 6 | Change from double to triple buffering for wayland. |
7 | This enables higher frame rates without tearing artifacts | 7 | This enables higher frame rates without tearing artifacts |
@@ -85,3 +85,6 @@ index e328b77..58a3184 100644 | |||
85 | /* | 85 | /* |
86 | back_wl_buffer | 86 | back_wl_buffer |
87 | 87 | ||
88 | -- | ||
89 | 2.27.0 | ||
90 | |||
diff --git a/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch b/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch index 1d5247d..52f0315 100644 --- a/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch +++ b/recipes-graphics/userland/files/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a64be7ff40bd6de2ac099c3f0091f14edfe57fe7 Mon Sep 17 00:00:00 2001 | 1 | From afe3917b1a236c08b1ed01053e3da9ab283db1ec Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 10 May 2017 06:39:34 +0000 | 3 | Date: Wed, 10 May 2017 06:39:34 +0000 |
4 | Subject: [PATCH] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT | 4 | Subject: [PATCH 14/21] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT |
5 | 5 | ||
6 | weston code uses these defines | 6 | weston code uses these defines |
7 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
@@ -30,3 +30,6 @@ index 4eacf7f..b1acc9f 100644 | |||
30 | /* GL_EXT_texture_type_2_10_10_10_REV */ | 30 | /* GL_EXT_texture_type_2_10_10_10_REV */ |
31 | #ifndef GL_EXT_texture_type_2_10_10_10_REV | 31 | #ifndef GL_EXT_texture_type_2_10_10_10_REV |
32 | #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | 32 | #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 |
33 | -- | ||
34 | 2.27.0 | ||
35 | |||
diff --git a/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch b/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch index a77f6d4..964d0ec 100644 --- a/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch +++ b/recipes-graphics/userland/files/0015-EGL-glplatform.h-define-EGL_CAST.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8f32b772d869481f88d9b7e14feb43c39b3fc33d Mon Sep 17 00:00:00 2001 | 1 | From 47972590947e5da25d77cae0ce060f7b8d022a10 Mon Sep 17 00:00:00 2001 |
2 | From: Andrea Galbusera <gizero@gmail.com> | 2 | From: Andrea Galbusera <gizero@gmail.com> |
3 | Date: Fri, 14 Jul 2017 09:52:54 +0200 | 3 | Date: Fri, 14 Jul 2017 09:52:54 +0200 |
4 | Subject: [PATCH] EGL/glplatform.h: define EGL_CAST | 4 | Subject: [PATCH 15/21] EGL/glplatform.h: define EGL_CAST |
5 | 5 | ||
6 | C++ / C typecast macros for special EGL handle values: used by libepoxy code | 6 | C++ / C typecast macros for special EGL handle values: used by libepoxy code |
7 | The definition comes from the updated version of this header in mesa. | 7 | The definition comes from the updated version of this header in mesa. |
@@ -27,3 +27,6 @@ index 1f7c930..c39d425 100644 | |||
27 | +#endif | 27 | +#endif |
28 | + | 28 | + |
29 | #endif /* __eglplatform_h */ | 29 | #endif /* __eglplatform_h */ |
30 | -- | ||
31 | 2.27.0 | ||
32 | |||
diff --git a/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch b/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch index 4445958..3790f80 100644 --- a/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch +++ b/recipes-graphics/userland/files/0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | From fe9ff55dac403b148f229c865bf2826ea4edf447 Mon Sep 17 00:00:00 2001 | 1 | From 1eb8bdb4d45e3de9582145c120b0d3ede187c7a9 Mon Sep 17 00:00:00 2001 |
2 | From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> | 2 | From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> |
3 | Date: Sat, 27 Jan 2018 12:28:31 -0500 | 3 | Date: Sat, 27 Jan 2018 12:28:31 -0500 |
4 | Subject: [PATCH] Allow multiple wayland compositor state data per process | 4 | Subject: [PATCH 16/21] Allow multiple wayland compositor state data per |
5 | process | ||
5 | 6 | ||
6 | When eglBindWaylandDisplayWL is called store the wl_global | 7 | When eglBindWaylandDisplayWL is called store the wl_global |
7 | created in a list associated with the wayland display. | 8 | created in a list associated with the wayland display. |
@@ -139,3 +140,6 @@ index 9ef89cd..abd5ab3 100644 | |||
139 | 140 | ||
140 | CLIENT_UNLOCK(); | 141 | CLIENT_UNLOCK(); |
141 | 142 | ||
143 | -- | ||
144 | 2.27.0 | ||
145 | |||
diff --git a/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch index a2f2ded..c3457cd 100644 --- a/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch +++ b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | From 8f8c22bc8aad6eb0f7c1b68f9f9a89f99adff996 Mon Sep 17 00:00:00 2001 | 1 | From 99a210c93019d37dd7f044102c4314c8cb988ed4 Mon Sep 17 00:00:00 2001 |
2 | From: Hugo Hromic <hhromic@gmail.com> | 2 | From: Hugo Hromic <hhromic@gmail.com> |
3 | Date: Sun, 13 May 2018 10:49:04 +0100 | 3 | Date: Sun, 13 May 2018 10:49:04 +0100 |
4 | Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import | 4 | Subject: [PATCH 17/21] khronos: backport typedef for |
5 | EGL_EXT_image_dma_buf_import | ||
5 | 6 | ||
6 | The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which | 7 | The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which |
7 | expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. | 8 | expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. |
@@ -32,3 +33,6 @@ index d7e5ba7..dcc90ce 100755 | |||
32 | 33 | ||
33 | #ifndef EGL_WL_bind_wayland_display | 34 | #ifndef EGL_WL_bind_wayland_display |
34 | #define EGL_WL_bind_wayland_display 1 | 35 | #define EGL_WL_bind_wayland_display 1 |
36 | -- | ||
37 | 2.27.0 | ||
38 | |||
diff --git a/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch index defaf3e..5317c60 100644 --- a/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch +++ b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From fe9bf7b9d79133ca5c72f68ed33002a7539e9797 Mon Sep 17 00:00:00 2001 | 1 | From 82cf4bc5623c5220dfa1c096ea192f2509837782 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 15 Jul 2018 00:48:38 -0700 | 3 | Date: Sun, 15 Jul 2018 00:48:38 -0700 |
4 | Subject: [PATCH] Add EGL_IMG_context_priority related defines | 4 | Subject: [PATCH 18/21] Add EGL_IMG_context_priority related defines |
5 | 5 | ||
6 | These defines are needed for compiling weston 4.x | 6 | These defines are needed for compiling weston 4.x |
7 | taken from Khronos headers | 7 | taken from Khronos headers |
@@ -30,3 +30,6 @@ index dcc90ce..6842bf9 100755 | |||
30 | #ifndef EGL_KHR_vg_parent_image | 30 | #ifndef EGL_KHR_vg_parent_image |
31 | #define EGL_KHR_vg_parent_image 1 | 31 | #define EGL_KHR_vg_parent_image 1 |
32 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ | 32 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ |
33 | -- | ||
34 | 2.27.0 | ||
35 | |||
diff --git a/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch b/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch index 34ca21a..cd6306b 100644 --- a/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch +++ b/recipes-graphics/userland/files/0019-libfdt-Undefine-__wordsize-if-already-defined.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 339af0cea0dc29b33773a3d851ea17c42610de7b Mon Sep 17 00:00:00 2001 | 1 | From 1112539d9fde6428c1230b4fc9ea479623e9f968 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 25 Jul 2019 23:30:27 -0700 | 3 | Date: Thu, 25 Jul 2019 23:30:27 -0700 |
4 | Subject: [PATCH] libfdt: Undefine __wordsize if already defined | 4 | Subject: [PATCH 19/21] libfdt: Undefine __wordsize if already defined |
5 | 5 | ||
6 | glibc 2.30+ defines __wordsize, which is same so its easier to compile | 6 | glibc 2.30+ defines __wordsize, which is same so its easier to compile |
7 | for multiple versions of glibc even ones which does not have this define | 7 | for multiple versions of glibc even ones which does not have this define |
@@ -26,3 +26,6 @@ index f4608be..5e83a27 100644 | |||
26 | #ifdef __CHECKER__ | 26 | #ifdef __CHECKER__ |
27 | #define FDT_FORCE __attribute__((force)) | 27 | #define FDT_FORCE __attribute__((force)) |
28 | #define FDT_BITWISE __attribute__((bitwise)) | 28 | #define FDT_BITWISE __attribute__((bitwise)) |
29 | -- | ||
30 | 2.27.0 | ||
31 | |||
diff --git a/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch b/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch index 3823c12..e9d9da6 100644 --- a/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch +++ b/recipes-graphics/userland/files/0020-openmaxil-add-pkg-config-file.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d1a9839c6e4b4d187382baf341d25b3d023242cd Mon Sep 17 00:00:00 2001 | 1 | From 488916a6b366bfa5da2907b5892798eb2306a17d Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <martin.jansa@lge.com> | 2 | From: Martin Jansa <martin.jansa@lge.com> |
3 | Date: Wed, 13 Jun 2018 18:22:22 +0000 | 3 | Date: Wed, 13 Jun 2018 18:22:22 +0000 |
4 | Subject: [PATCH] openmaxil: add pkg-config file | 4 | Subject: [PATCH 20/21] openmaxil: add pkg-config file |
5 | 5 | ||
6 | --- | 6 | --- |
7 | CMakeLists.txt | 2 +- | 7 | CMakeLists.txt | 2 +- |
@@ -10,10 +10,10 @@ Subject: [PATCH] openmaxil: add pkg-config file | |||
10 | create mode 100644 pkgconfig/openmaxil.pc.in | 10 | create mode 100644 pkgconfig/openmaxil.pc.in |
11 | 11 | ||
12 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 12 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
13 | index 8c5bf5f..9f4165a 100644 | 13 | index 80337b2..3e3c90e 100644 |
14 | --- a/CMakeLists.txt | 14 | --- a/CMakeLists.txt |
15 | +++ b/CMakeLists.txt | 15 | +++ b/CMakeLists.txt |
16 | @@ -131,7 +131,7 @@ include_directories("${PROJECT_BINARY_DIR}") | 16 | @@ -133,7 +133,7 @@ include_directories("${PROJECT_BINARY_DIR}") |
17 | include(FindPkgConfig QUIET) | 17 | include(FindPkgConfig QUIET) |
18 | if(PKG_CONFIG_FOUND) | 18 | if(PKG_CONFIG_FOUND) |
19 | # Produce a pkg-config file | 19 | # Produce a pkg-config file |
@@ -38,3 +38,6 @@ index 0000000..8793a61 | |||
38 | +Version: 1 | 38 | +Version: 1 |
39 | +Libs: -L${libdir} -lopenmaxil -lvcos -lvchiq_arm -pthread | 39 | +Libs: -L${libdir} -lopenmaxil -lvcos -lvchiq_arm -pthread |
40 | +Cflags: -I${includedir} -I${includedir}/IL -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM | 40 | +Cflags: -I${includedir} -I${includedir}/IL -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM |
41 | -- | ||
42 | 2.27.0 | ||
43 | |||
diff --git a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch index 703d300..c762a9f 100644 --- a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch +++ b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4886bd9f33727f6a16aeb3b1aa3c25e459f06581 Mon Sep 17 00:00:00 2001 | 1 | From ee842886f3c0589d6df5a0687973beb18a3be524 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 31 Mar 2020 11:51:02 -0700 | 3 | Date: Tue, 31 Mar 2020 11:51:02 -0700 |
4 | Subject: [PATCH] cmake: Disable format-overflow warning as error | 4 | Subject: [PATCH 21/21] cmake: Disable format-overflow warning as error |
5 | 5 | ||
6 | gcc10 complains about a check which could potentially be null | 6 | gcc10 complains about a check which could potentially be null |
7 | 7 | ||
@@ -19,6 +19,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | host_applications/linux/libs/bcm_host/CMakeLists.txt | 2 +- | 19 | host_applications/linux/libs/bcm_host/CMakeLists.txt | 2 +- |
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 21 | ||
22 | diff --git a/host_applications/linux/libs/bcm_host/CMakeLists.txt b/host_applications/linux/libs/bcm_host/CMakeLists.txt | ||
23 | index a863cb6..f358135 100644 | ||
22 | --- a/host_applications/linux/libs/bcm_host/CMakeLists.txt | 24 | --- a/host_applications/linux/libs/bcm_host/CMakeLists.txt |
23 | +++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt | 25 | +++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt |
24 | @@ -3,7 +3,7 @@ if (WIN32) | 26 | @@ -3,7 +3,7 @@ if (WIN32) |
@@ -26,7 +28,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
26 | else () | 28 | else () |
27 | set(VCOS_PLATFORM pthreads) | 29 | set(VCOS_PLATFORM pthreads) |
28 | - add_definitions(-Wall -Werror) | 30 | - add_definitions(-Wall -Werror) |
29 | + add_definitions(-Wall) | 31 | + add_definitions(-Wall -Werror -Wno-error=format-overflow) |
30 | endif () | 32 | endif () |
31 | 33 | ||
32 | # set this as we want all the source of vchostif to be available in libbcm_host | 34 | # set this as we want all the source of vchostif to be available in libbcm_host |
35 | -- | ||
36 | 2.27.0 | ||
37 | |||
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index eefc1ec..1138da8 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -13,11 +13,11 @@ COMPATIBLE_MACHINE = "^rpi$" | |||
13 | 13 | ||
14 | SRCBRANCH = "master" | 14 | SRCBRANCH = "master" |
15 | SRCFORK = "raspberrypi" | 15 | SRCFORK = "raspberrypi" |
16 | SRCREV = "6fb59736b1ae80fc62cddfe3309c800f72e1c07e" | 16 | SRCREV = "188d3bfe4a0ac36b119a2cee35a6be8d0c68e09e" |
17 | 17 | ||
18 | # Use the date of the above commit as the package version. Update this when | 18 | # Use the date of the above commit as the package version. Update this when |
19 | # SRCREV is changed. | 19 | # SRCREV is changed. |
20 | PV = "20200316" | 20 | PV = "20200624" |
21 | 21 | ||
22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
23 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ | 23 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ |