diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-06-23 14:34:28 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-07-08 14:25:53 +0100 |
commit | 5cac5e67f8b18f4b890e7bcc1a1e3c4921759cc3 (patch) | |
tree | 6cad7f6be268d42d008ece7d5ed09791249d24ba | |
parent | 43ecd9ac992216974316f954683547e5867c5612 (diff) | |
download | meta-raspberrypi-5cac5e67f8b18f4b890e7bcc1a1e3c4921759cc3.tar.gz |
userland: Upgrade to latest tip
Drop upstream applied patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch (renamed from recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch | 114 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch (renamed from recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch) | 10 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch (renamed from recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch (renamed from recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch (renamed from recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch) | 8 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch (renamed from recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch (renamed from recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch (renamed from recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch (renamed from recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch (renamed from recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch (renamed from recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch (renamed from recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch) | 6 | ||||
-rw-r--r-- | recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch (renamed from recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch) | 14 | ||||
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 29 |
15 files changed, 66 insertions, 169 deletions
diff --git a/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch b/recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch index 4a8b16d..4d026bd 100644 --- a/recipes-graphics/userland/userland/0003-Allow-applications-to-set-next-resource-handle.patch +++ b/recipes-graphics/userland/userland/0001-Allow-applications-to-set-next-resource-handle.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1d750c8922cbb4276e4337d2af2776676c0bd224 Mon Sep 17 00:00:00 2001 | 1 | From 83c5ac5892d0cd29caa8922ff8b639b9a373c3cb 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 03/13] Allow applications to set next resource handle | 4 | Subject: [PATCH 01/13] 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. |
@@ -204,5 +204,5 @@ index 8a5734c..51b3580 100644 | |||
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 | -- | 206 | -- |
207 | 2.7.4 | 207 | 2.9.0 |
208 | 208 | ||
diff --git a/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch b/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch deleted file mode 100644 index 50ebaa6..0000000 --- a/recipes-graphics/userland/userland/0002-cmake-generate-and-install-pkgconfig-files.patch +++ /dev/null | |||
@@ -1,114 +0,0 @@ | |||
1 | From 9abccc4553b29643eee3c5a7edad641bc83f58f4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 9 Aug 2015 23:59:32 -0700 | ||
4 | Subject: [PATCH 02/13] cmake: generate and install pkgconfig files | ||
5 | |||
6 | many packages expect packageconfig support especially for detecting EGL | ||
7 | libraries. This patch helps in compiling those packages on RPi | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | CMakeLists.txt | 10 +++++++++- | ||
12 | pkgconfig/bcm_host.pc.in | 10 ++++++++++ | ||
13 | pkgconfig/egl.pc.in | 13 +++++++++++++ | ||
14 | pkgconfig/glesv2.pc.in | 12 ++++++++++++ | ||
15 | pkgconfig/vg.pc.in | 11 +++++++++++ | ||
16 | 5 files changed, 55 insertions(+), 1 deletion(-) | ||
17 | create mode 100644 pkgconfig/bcm_host.pc.in | ||
18 | create mode 100644 pkgconfig/egl.pc.in | ||
19 | create mode 100644 pkgconfig/glesv2.pc.in | ||
20 | create mode 100644 pkgconfig/vg.pc.in | ||
21 | |||
22 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
23 | index aec0316..3113618 100644 | ||
24 | --- a/CMakeLists.txt | ||
25 | +++ b/CMakeLists.txt | ||
26 | @@ -113,6 +113,14 @@ set(vmcs_host_apps_VERSION_MAJOR 1) | ||
27 | set(vmcs_host_apps_VERSION_MINOR 0) | ||
28 | |||
29 | include_directories("${PROJECT_BINARY_DIR}") | ||
30 | - | ||
31 | +include(FindPkgConfig QUIET) | ||
32 | +if(PKG_CONFIG_FOUND) | ||
33 | + # Produce a pkg-config file | ||
34 | + foreach(PCFILE bcm_host.pc egl.pc glesv2.pc vg.pc) | ||
35 | + configure_file("pkgconfig/${PCFILE}.in" "${PCFILE}" @ONLY) | ||
36 | + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PCFILE}" | ||
37 | + DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") | ||
38 | + endforeach() | ||
39 | +endif() | ||
40 | # Remove cache entry, if one added by command line | ||
41 | unset(KHRONOS_EGL_PLATFORM CACHE) | ||
42 | diff --git a/pkgconfig/bcm_host.pc.in b/pkgconfig/bcm_host.pc.in | ||
43 | new file mode 100644 | ||
44 | index 0000000..c7237c5 | ||
45 | --- /dev/null | ||
46 | +++ b/pkgconfig/bcm_host.pc.in | ||
47 | @@ -0,0 +1,10 @@ | ||
48 | +prefix=@CMAKE_INSTALL_PREFIX@ | ||
49 | +exec_prefix=${prefix} | ||
50 | +libdir=${exec_prefix}/lib | ||
51 | +includedir=${prefix}/include | ||
52 | + | ||
53 | +Name: bcm_host | ||
54 | +Description: Broadcom VideoCore host API library | ||
55 | +Version: 1 | ||
56 | +Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm -pthread | ||
57 | +Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM | ||
58 | diff --git a/pkgconfig/egl.pc.in b/pkgconfig/egl.pc.in | ||
59 | new file mode 100644 | ||
60 | index 0000000..27a6236 | ||
61 | --- /dev/null | ||
62 | +++ b/pkgconfig/egl.pc.in | ||
63 | @@ -0,0 +1,13 @@ | ||
64 | +prefix=@CMAKE_INSTALL_PREFIX@ | ||
65 | +exec_prefix=${prefix} | ||
66 | +libdir=${exec_prefix}/lib | ||
67 | +includedir=${prefix}/include | ||
68 | + | ||
69 | +Name: EGL | ||
70 | +Description: Fake EGL package for RPi | ||
71 | +Version: 10 | ||
72 | +Requires: bcm_host | ||
73 | +Libs: -L${libdir} -lEGL -lGLESv2 -lbcm_host -lvchostif | ||
74 | +Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux \ | ||
75 | + -I${includedir}/interface/vcos/pthreads | ||
76 | + | ||
77 | diff --git a/pkgconfig/glesv2.pc.in b/pkgconfig/glesv2.pc.in | ||
78 | new file mode 100644 | ||
79 | index 0000000..5900225 | ||
80 | --- /dev/null | ||
81 | +++ b/pkgconfig/glesv2.pc.in | ||
82 | @@ -0,0 +1,12 @@ | ||
83 | +prefix=@CMAKE_INSTALL_PREFIX@ | ||
84 | +exec_prefix=${prefix} | ||
85 | +libdir=${exec_prefix}/lib | ||
86 | +includedir=${prefix}/include | ||
87 | + | ||
88 | +Name: GLESv2 | ||
89 | +Description: Fake GL ES 2 package for RPi | ||
90 | +Version: 10 | ||
91 | +Requires: bcm_host | ||
92 | +Libs: -L${libdir} -lGLESv2 | ||
93 | +Cflags: -I${includedir} | ||
94 | + | ||
95 | diff --git a/pkgconfig/vg.pc.in b/pkgconfig/vg.pc.in | ||
96 | new file mode 100644 | ||
97 | index 0000000..8c39c98 | ||
98 | --- /dev/null | ||
99 | +++ b/pkgconfig/vg.pc.in | ||
100 | @@ -0,0 +1,11 @@ | ||
101 | +prefix=@CMAKE_INSTALL_PREFIX@ | ||
102 | +exec_prefix=${prefix} | ||
103 | +libdir=${exec_prefix}/lib | ||
104 | +includedir=${prefix}/include | ||
105 | + | ||
106 | +Name: OpenVG | ||
107 | +Description: Fake OpenVG package for RPi | ||
108 | +Version: 10 | ||
109 | +Requires: bcm_host | ||
110 | +Libs: -L${libdir} -lOpenVG | ||
111 | +Cflags: -I${includedir} | ||
112 | -- | ||
113 | 2.7.4 | ||
114 | |||
diff --git a/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch b/recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch index 472afe0..aa09dda 100644 --- a/recipes-graphics/userland/userland/0004-wayland-Add-support-for-the-Wayland-winsys.patch +++ b/recipes-graphics/userland/userland/0002-wayland-Add-support-for-the-Wayland-winsys.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b8acbcddeb6774bdfc2f7329775a19cd362f47ea Mon Sep 17 00:00:00 2001 | 1 | From 79ce2b4125359593f37c5b9744a37203e24249de 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 04/13] wayland: Add support for the Wayland winsys | 4 | Subject: [PATCH 02/13] 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 |
@@ -333,7 +333,7 @@ index 4f3ce49..84f6ec0 100644 | |||
333 | /* OpenGL ES 1.1 and 2.0 functions */ | 333 | /* OpenGL ES 1.1 and 2.0 functions */ |
334 | 334 | ||
335 | diff --git a/interface/khronos/common/linux/khrn_client_platform_linux.c b/interface/khronos/common/linux/khrn_client_platform_linux.c | 335 | diff --git a/interface/khronos/common/linux/khrn_client_platform_linux.c b/interface/khronos/common/linux/khrn_client_platform_linux.c |
336 | index a060f26..13c8c25 100644 | 336 | index 9d43d15..00821d3 100644 |
337 | --- a/interface/khronos/common/linux/khrn_client_platform_linux.c | 337 | --- a/interface/khronos/common/linux/khrn_client_platform_linux.c |
338 | +++ b/interface/khronos/common/linux/khrn_client_platform_linux.c | 338 | +++ b/interface/khronos/common/linux/khrn_client_platform_linux.c |
339 | @@ -37,6 +37,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 339 | @@ -37,6 +37,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
@@ -1595,7 +1595,7 @@ index 37fdae1..fe3619a 100755 | |||
1595 | } | 1595 | } |
1596 | #endif | 1596 | #endif |
1597 | diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c | 1597 | diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c |
1598 | index 3c91e07..1d24b6e 100755 | 1598 | index d188068..3e668f5 100755 |
1599 | --- a/interface/vmcs_host/vc_vchi_dispmanx.c | 1599 | --- a/interface/vmcs_host/vc_vchi_dispmanx.c |
1600 | +++ b/interface/vmcs_host/vc_vchi_dispmanx.c | 1600 | +++ b/interface/vmcs_host/vc_vchi_dispmanx.c |
1601 | @@ -1316,3 +1316,45 @@ static void *dispmanx_notify_func( void *arg ) { | 1601 | @@ -1316,3 +1316,45 @@ static void *dispmanx_notify_func( void *arg ) { |
@@ -1876,5 +1876,5 @@ index 0000000..ad90d30 | |||
1876 | + set(${_sources} ${${_sources}} PARENT_SCOPE) | 1876 | + set(${_sources} ${${_sources}} PARENT_SCOPE) |
1877 | +endfunction() | 1877 | +endfunction() |
1878 | -- | 1878 | -- |
1879 | 2.7.4 | 1879 | 2.9.0 |
1880 | 1880 | ||
diff --git a/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch index 20ca92f..11befc3 100644 --- a/recipes-graphics/userland/userland/0005-wayland-Add-Wayland-example.patch +++ b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2d028f45ca223e30fb0947cb1dd7f0aee24b090a Mon Sep 17 00:00:00 2001 | 1 | From b6ee187184456d66095146e3dc06b6baa29c17d7 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 05/13] wayland: Add Wayland example | 4 | Subject: [PATCH 03/13] wayland: Add Wayland example |
5 | 5 | ||
6 | --- | 6 | --- |
7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + | 7 | .../linux/apps/hello_pi/CMakeLists.txt | 1 + |
@@ -862,5 +862,5 @@ index fa4539e..37120ac 100755 | |||
862 | - | 862 | - |
863 | +make -C hello_wayland | 863 | +make -C hello_wayland |
864 | -- | 864 | -- |
865 | 2.7.4 | 865 | 2.9.0 |
866 | 866 | ||
diff --git a/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch b/recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch index 0c09325..2a44e26 100644 --- a/recipes-graphics/userland/userland/0006-wayland-egl-Add-bcm_host-to-dependencies.patch +++ b/recipes-graphics/userland/userland/0004-wayland-egl-Add-bcm_host-to-dependencies.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f292e22f1988a0ce2ea7226dc882235daea6071b Mon Sep 17 00:00:00 2001 | 1 | From e3df3fec01aefac3ec301f6f3d5ec3e91652b9c5 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 06/13] wayland-egl: Add bcm_host to dependencies | 4 | Subject: [PATCH 04/13] 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 |
@@ -24,5 +24,5 @@ index 8bafc15..fd259c9 100644 | |||
24 | Libs: -L${libdir} -lwayland-egl | 24 | Libs: -L${libdir} -lwayland-egl |
25 | Cflags: -I${includedir} | 25 | Cflags: -I${includedir} |
26 | -- | 26 | -- |
27 | 2.7.4 | 27 | 2.9.0 |
28 | 28 | ||
diff --git a/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch b/recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch index eb6c408..6f41932 100644 --- a/recipes-graphics/userland/userland/0007-interface-remove-faulty-assert-to-make-weston-happy-.patch +++ b/recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 39de2c976a1a98cd6c8ee20154c63d302d9a0c54 Mon Sep 17 00:00:00 2001 | 1 | From 6c9d407c9ec0859380e7bcf35cf915cef4b3687b 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 07/13] interface: remove faulty assert() to make weston happy | 4 | Subject: [PATCH 05/13] interface: remove faulty assert() to make weston happy |
5 | at 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 |
@@ -13,7 +13,7 @@ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> | |||
13 | 1 file changed, 1 deletion(-) | 13 | 1 file changed, 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c | 15 | diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c |
16 | index 1d24b6e..e2e7ccc 100755 | 16 | index 3e668f5..8e065dc 100755 |
17 | --- a/interface/vmcs_host/vc_vchi_dispmanx.c | 17 | --- a/interface/vmcs_host/vc_vchi_dispmanx.c |
18 | +++ b/interface/vmcs_host/vc_vchi_dispmanx.c | 18 | +++ b/interface/vmcs_host/vc_vchi_dispmanx.c |
19 | @@ -1304,7 +1304,6 @@ static void *dispmanx_notify_func( void *arg ) { | 19 | @@ -1304,7 +1304,6 @@ static void *dispmanx_notify_func( void *arg ) { |
@@ -25,5 +25,5 @@ index 1d24b6e..e2e7ccc 100755 | |||
25 | } | 25 | } |
26 | } else { | 26 | } else { |
27 | -- | 27 | -- |
28 | 2.7.4 | 28 | 2.9.0 |
29 | 29 | ||
diff --git a/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch b/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch index 66e91be..2d52266 100644 --- a/recipes-graphics/userland/userland/0008-zero-out-wl-buffers-in-egl_surface_free.patch +++ b/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 944e559da5c34db74321c811694132aeb30439b2 Mon Sep 17 00:00:00 2001 | 1 | From e3ffe9438fe8417586d0045d00eb1368ca3a71b6 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 08/13] zero-out wl buffers in egl_surface_free | 4 | Subject: [PATCH 06/13] zero-out wl buffers in egl_surface_free |
5 | 5 | ||
6 | origins from buildroot | 6 | origins from buildroot |
7 | 7 | ||
@@ -29,5 +29,5 @@ index 49cf7e5..512c83b 100644 | |||
29 | #endif | 29 | #endif |
30 | } | 30 | } |
31 | -- | 31 | -- |
32 | 2.7.4 | 32 | 2.9.0 |
33 | 33 | ||
diff --git a/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch b/recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch index fd600cb..f54f77d 100644 --- a/recipes-graphics/userland/userland/0009-initialize-front-back-wayland-buffers.patch +++ b/recipes-graphics/userland/userland/0007-initialize-front-back-wayland-buffers.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From bea88c648c775472cfc1d067e166e270ce610f3a Mon Sep 17 00:00:00 2001 | 1 | From ed31a6a206c9e205bd5316e95788e5d7bb837e38 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 09/13] initialize front back wayland buffers | 4 | Subject: [PATCH 07/13] initialize front back wayland buffers |
5 | 5 | ||
6 | origins from metrological wayland support | 6 | origins from metrological wayland support |
7 | 7 | ||
@@ -30,5 +30,5 @@ index 512c83b..a429724 100644 | |||
30 | } | 30 | } |
31 | #endif | 31 | #endif |
32 | -- | 32 | -- |
33 | 2.7.4 | 33 | 2.9.0 |
34 | 34 | ||
diff --git a/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch b/recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch index 6d3febc..0206a08 100644 --- a/recipes-graphics/userland/userland/0010-Remove-RPC_FLUSH.patch +++ b/recipes-graphics/userland/userland/0008-Remove-RPC_FLUSH.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f1cbd0eccc9e4677a2fd7714cffd88a5ecb24ed1 Mon Sep 17 00:00:00 2001 | 1 | From 6e173040a825185013ccbbb33113442207f10eeb 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 10/13] Remove RPC_FLUSH | 4 | Subject: [PATCH 08/13] Remove RPC_FLUSH |
5 | 5 | ||
6 | Origins from buildroot | 6 | Origins from buildroot |
7 | 7 | ||
@@ -23,5 +23,5 @@ index f9b7287..b04ffef 100644 | |||
23 | } | 23 | } |
24 | #endif | 24 | #endif |
25 | -- | 25 | -- |
26 | 2.7.4 | 26 | 2.9.0 |
27 | 27 | ||
diff --git a/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch b/recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch index 94f8a7f..87cfce4 100644 --- a/recipes-graphics/userland/userland/0011-fix-cmake-dependency-race.patch +++ b/recipes-graphics/userland/userland/0009-fix-cmake-dependency-race.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 66d6b4040b5fa9a135a91ca2d152c539cce56159 Mon Sep 17 00:00:00 2001 | 1 | From c4217231fd78daee83b0c0f312c1d392aa6e0f47 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 11/13] fix cmake dependency race | 4 | Subject: [PATCH 09/13] fix cmake dependency race |
5 | 5 | ||
6 | Fixes errors like | 6 | Fixes errors like |
7 | 7 | ||
@@ -74,5 +74,5 @@ index f0bae30..8c44c58 100644 | |||
74 | struct wl_resource *resource; | 74 | struct wl_resource *resource; |
75 | struct wl_dispmanx *dispmanx; | 75 | struct wl_dispmanx *dispmanx; |
76 | -- | 76 | -- |
77 | 2.7.4 | 77 | 2.9.0 |
78 | 78 | ||
diff --git a/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch b/recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch index cbf5f15..d4e8825 100644 --- a/recipes-graphics/userland/userland/0012-Fix-enum-conversion-warnings.patch +++ b/recipes-graphics/userland/userland/0010-Fix-enum-conversion-warnings.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b2b1a4f7564a7ba50b705f850edffbf6f437a896 Mon Sep 17 00:00:00 2001 | 1 | From 377f6aada3b7569e3d662fc830e01b8c5ba8a15d 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, 18 Feb 2016 09:04:46 +0000 | 3 | Date: Thu, 18 Feb 2016 09:04:46 +0000 |
4 | Subject: [PATCH 12/13] Fix enum conversion warnings | 4 | Subject: [PATCH 10/13] Fix enum conversion warnings |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
@@ -95,5 +95,5 @@ index f088296..83e3724 100644 | |||
95 | omx->pixel_y = mmal->pixel_y; | 95 | omx->pixel_y = mmal->pixel_y; |
96 | omx->layer = mmal->layer; | 96 | omx->layer = mmal->layer; |
97 | -- | 97 | -- |
98 | 2.7.4 | 98 | 2.9.0 |
99 | 99 | ||
diff --git a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch index ff9ccce..5e97571 100644 --- a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch +++ b/recipes-graphics/userland/userland/0011-Fix-for-framerate-with-nested-composition.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f8779a124fc447b63c1ba1795330bdc2d765dc7a Mon Sep 17 00:00:00 2001 | 1 | From 6e634184ee4b3d2c98c3213a3931845ec3014754 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 13/13] Fix for framerate with nested composition | 4 | Subject: [PATCH 11/13] 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 | ||
@@ -56,5 +56,5 @@ index 024f3ed..83970ec 100644 | |||
56 | #ifdef ANDROID | 56 | #ifdef ANDROID |
57 | CLIENT_UNLOCK(); | 57 | CLIENT_UNLOCK(); |
58 | -- | 58 | -- |
59 | 2.8.0 | 59 | 2.9.0 |
60 | 60 | ||
diff --git a/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch b/recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch index ca7cb66..44815c5 100644 --- a/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch +++ b/recipes-graphics/userland/userland/0012-build-shared-library-for-vchostif.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4e9aa3fffb458ca4fafd2241c18e9c8008b66ad8 Mon Sep 17 00:00:00 2001 | 1 | From 559209ce15027b3370466ccb56223a7a66d2a40c 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 12/13] build shared library for vchostif |
5 | 5 | ||
6 | Fixes #149 | 6 | Fixes #149 |
7 | 7 | ||
@@ -24,5 +24,5 @@ index 22949a8..f8c2f2f 100755 | |||
24 | #add_library(bufman vc_vchi_bufman.c ) | 24 | #add_library(bufman vc_vchi_bufman.c ) |
25 | 25 | ||
26 | -- | 26 | -- |
27 | 2.8.0 | 27 | 2.9.0 |
28 | 28 | ||
diff --git a/recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch b/recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch index 1a0faba..8f36048 100644 --- a/recipes-graphics/userland/userland/0015-wl-dispmanx-buffer-wrapping.patch +++ b/recipes-graphics/userland/userland/0013-implement-buffer-wrapping-interface-for-dispmanx.patch | |||
@@ -1,7 +1,16 @@ | |||
1 | implement buffer wrapping interface for dispmanx | 1 | From 5b55a152651eece345d9ea1e0e40ecd9fc4ca2d5 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 2 Apr 2016 10:54:59 -0700 | ||
4 | Subject: [PATCH 13/13] implement buffer wrapping interface for dispmanx | ||
2 | 5 | ||
3 | Courtesy: Zan Dobersek | 6 | Courtesy: Zan Dobersek |
4 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | interface/khronos/ext/egl_wayland.c | 42 +++++++++++++++++++++++++++++++++++++ | ||
11 | interface/wayland/dispmanx.xml | 10 +++++++++ | ||
12 | 2 files changed, 52 insertions(+) | ||
13 | |||
5 | diff --git a/interface/khronos/ext/egl_wayland.c b/interface/khronos/ext/egl_wayland.c | 14 | diff --git a/interface/khronos/ext/egl_wayland.c b/interface/khronos/ext/egl_wayland.c |
6 | index 5730743..9ef89cd 100644 | 15 | index 5730743..9ef89cd 100644 |
7 | --- a/interface/khronos/ext/egl_wayland.c | 16 | --- a/interface/khronos/ext/egl_wayland.c |
@@ -78,3 +87,6 @@ index c18626d..11ed1ef 100644 | |||
78 | </interface> | 87 | </interface> |
79 | 88 | ||
80 | </protocol> | 89 | </protocol> |
90 | -- | ||
91 | 2.9.0 | ||
92 | |||
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 7acd8b8..6e73ca7 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -16,24 +16,23 @@ COMPATIBLE_MACHINE = "raspberrypi" | |||
16 | 16 | ||
17 | SRCBRANCH = "master" | 17 | SRCBRANCH = "master" |
18 | SRCFORK = "raspberrypi" | 18 | SRCFORK = "raspberrypi" |
19 | SRCREV = "17c28b9d1d234893b73adeb95efc4959b617fc85" | 19 | SRCREV = "0147f98bdd4fdc822d25d8a70cf5adc5adb89096" |
20 | 20 | ||
21 | SRC_URI = "\ | 21 | SRC_URI = "\ |
22 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ | 22 | git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \ |
23 | file://0002-cmake-generate-and-install-pkgconfig-files.patch \ | 23 | file://0001-Allow-applications-to-set-next-resource-handle.patch \ |
24 | file://0003-Allow-applications-to-set-next-resource-handle.patch \ | 24 | file://0002-wayland-Add-support-for-the-Wayland-winsys.patch \ |
25 | file://0004-wayland-Add-support-for-the-Wayland-winsys.patch \ | 25 | file://0003-wayland-Add-Wayland-example.patch \ |
26 | file://0005-wayland-Add-Wayland-example.patch \ | 26 | file://0004-wayland-egl-Add-bcm_host-to-dependencies.patch \ |
27 | file://0006-wayland-egl-Add-bcm_host-to-dependencies.patch \ | 27 | file://0005-interface-remove-faulty-assert-to-make-weston-happy-.patch \ |
28 | file://0007-interface-remove-faulty-assert-to-make-weston-happy-.patch \ | 28 | file://0006-zero-out-wl-buffers-in-egl_surface_free.patch \ |
29 | file://0008-zero-out-wl-buffers-in-egl_surface_free.patch \ | 29 | file://0007-initialize-front-back-wayland-buffers.patch \ |
30 | file://0009-initialize-front-back-wayland-buffers.patch \ | 30 | file://0008-Remove-RPC_FLUSH.patch \ |
31 | file://0010-Remove-RPC_FLUSH.patch \ | 31 | file://0009-fix-cmake-dependency-race.patch \ |
32 | file://0011-fix-cmake-dependency-race.patch \ | 32 | file://0010-Fix-enum-conversion-warnings.patch \ |
33 | file://0012-Fix-enum-conversion-warnings.patch \ | 33 | file://0011-Fix-for-framerate-with-nested-composition.patch \ |
34 | file://0013-Fix-for-framerate-with-nested-composition.patch \ | 34 | file://0012-build-shared-library-for-vchostif.patch \ |
35 | file://0014-build-shared-library-for-vchostif.patch \ | 35 | file://0013-implement-buffer-wrapping-interface-for-dispmanx.patch \ |
36 | file://0015-wl-dispmanx-buffer-wrapping.patch \ | ||
37 | " | 36 | " |
38 | S = "${WORKDIR}/git" | 37 | S = "${WORKDIR}/git" |
39 | 38 | ||