diff options
Diffstat (limited to 'recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch')
-rw-r--r-- | recipes-graphics/userland/files/0002-wayland-Add-support-for-the-Wayland-winsys.patch | 32 |
1 files changed, 15 insertions, 17 deletions
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 8ce9090..9b0dd21 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 7432d49ddca97b34e402d0108221d34ec69bcd66 Mon Sep 17 00:00:00 2001 | 1 | From 21dba61f098020d1143289017841ca76995618d4 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 02/19] wayland: Add support for the Wayland winsys | 4 | Subject: [PATCH] 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 | 2 +- | 26 | .../linux/apps/raspicam/CMakeLists.txt | 3 +- |
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, 1257 insertions(+), 99 deletions(-) | 52 | 30 files changed, 1258 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 cfc8ae5..673a5ad 100644 | 72 | index d8ba238..8c5bf5f 100644 |
73 | --- a/CMakeLists.txt | 73 | --- a/CMakeLists.txt |
74 | +++ b/CMakeLists.txt | 74 | +++ b/CMakeLists.txt |
75 | @@ -24,6 +24,17 @@ include(makefiles/cmake/global_settings.cmake) | 75 | @@ -20,6 +20,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 | ||
@@ -103,7 +103,7 @@ index 404e4d4..97a6b8f 100644 | |||
103 | + | 103 | + |
104 | +$ BUILD_WAYLAND=1 ./buildme. | 104 | +$ BUILD_WAYLAND=1 ./buildme. |
105 | diff --git a/buildme b/buildme | 105 | diff --git a/buildme b/buildme |
106 | index cee90a6..d1d76a7 100755 | 106 | index 9e2d405..7b8c0d6 100755 |
107 | --- a/buildme | 107 | --- a/buildme |
108 | +++ b/buildme | 108 | +++ b/buildme |
109 | @@ -17,6 +17,10 @@ fi | 109 | @@ -17,6 +17,10 @@ fi |
@@ -133,15 +133,16 @@ index cee90a6..d1d76a7 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 f7db21e..73997b7 100644 | 136 | index 656a9a0..4b0a888 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 | @@ -54,7 +54,7 @@ add_executable(raspividyuv ${COMMON_SOURCES} RaspiVidYUV.c) | 139 | @@ -59,7 +59,8 @@ add_executable(raspivid ${COMMON_SOURCES} RaspiVid.c) |
140 | add_executable(raspividyuv ${COMMON_SOURCES} RaspiVidYUV.c) | ||
140 | 141 | ||
141 | set (MMAL_LIBS mmal_core mmal_util mmal_vc_client) | 142 | set (MMAL_LIBS mmal_core mmal_util mmal_vc_client) |
142 | 143 | -target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl) | |
143 | -target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host brcmGLESv2 brcmEGL m dl) | 144 | + |
144 | +target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host brcmGLESv2 brcmEGL m dl ${WAYLAND_SERVER_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES}) | 145 | +target_link_libraries(raspistill ${MMAL_LIBS} vcos bcm_host ${EGL_LIBS} m dl ${WAYLAND_SERVER_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES}) |
145 | target_link_libraries(raspiyuv ${MMAL_LIBS} vcos bcm_host) | 146 | target_link_libraries(raspiyuv ${MMAL_LIBS} vcos bcm_host) |
146 | target_link_libraries(raspivid ${MMAL_LIBS} vcos bcm_host) | 147 | target_link_libraries(raspivid ${MMAL_LIBS} vcos bcm_host) |
147 | target_link_libraries(raspividyuv ${MMAL_LIBS} vcos bcm_host) | 148 | target_link_libraries(raspividyuv ${MMAL_LIBS} vcos bcm_host) |
@@ -1551,7 +1552,7 @@ index 0000000..8bafc15 | |||
1551 | +Libs: -L${libdir} -lwayland-egl | 1552 | +Libs: -L${libdir} -lwayland-egl |
1552 | +Cflags: -I${includedir} | 1553 | +Cflags: -I${includedir} |
1553 | diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt | 1554 | diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt |
1554 | index a157db1..55b6ace 100755 | 1555 | index 4a914a7..c202204 100755 |
1555 | --- a/interface/vmcs_host/CMakeLists.txt | 1556 | --- a/interface/vmcs_host/CMakeLists.txt |
1556 | +++ b/interface/vmcs_host/CMakeLists.txt | 1557 | +++ b/interface/vmcs_host/CMakeLists.txt |
1557 | @@ -7,13 +7,24 @@ | 1558 | @@ -7,13 +7,24 @@ |
@@ -1582,8 +1583,8 @@ index a157db1..55b6ace 100755 | |||
1582 | +add_library(vchostif ${VCHOSTIF_SOURCE}) | 1583 | +add_library(vchostif ${VCHOSTIF_SOURCE}) |
1583 | + | 1584 | + |
1584 | #add_library(bufman vc_vchi_bufman.c ) | 1585 | #add_library(bufman vc_vchi_bufman.c ) |
1586 | set(INSTALL_TARGETS vchostif) | ||
1585 | 1587 | ||
1586 | # OpenMAX/IL component service | ||
1587 | diff --git a/interface/vmcs_host/vc_dispmanx.h b/interface/vmcs_host/vc_dispmanx.h | 1588 | diff --git a/interface/vmcs_host/vc_dispmanx.h b/interface/vmcs_host/vc_dispmanx.h |
1588 | index 37fdae1..fe3619a 100755 | 1589 | index 37fdae1..fe3619a 100755 |
1589 | --- a/interface/vmcs_host/vc_dispmanx.h | 1590 | --- a/interface/vmcs_host/vc_dispmanx.h |
@@ -1893,6 +1894,3 @@ index 0000000..ad90d30 | |||
1893 | + list(APPEND ${_sources} "${_server_header}") | 1894 | + list(APPEND ${_sources} "${_server_header}") |
1894 | + set(${_sources} ${${_sources}} PARENT_SCOPE) | 1895 | + set(${_sources} ${${_sources}} PARENT_SCOPE) |
1895 | +endfunction() | 1896 | +endfunction() |
1896 | -- | ||
1897 | 2.22.0 | ||
1898 | |||