summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-07-13 14:01:29 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-07-14 17:16:50 +0100
commit497a90a220086c1b23f6bd53a502adfa7bb060b9 (patch)
treeb22c1227ce2d068d1825aa659d3330383d9cdc8a /recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch
parent372dc40ae390afa3d586e641952b5e639edefb8e (diff)
downloadmeta-raspberrypi-497a90a220086c1b23f6bd53a502adfa7bb060b9.tar.gz
userland: Update to 2020-06-24 top commit
Forward port patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch')
-rw-r--r--recipes-graphics/userland/files/0003-wayland-Add-Wayland-example.patch47
1 files changed, 25 insertions, 22 deletions
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 @@
1From d2fd39ea43f948feba34e895600afd801e03691f Mon Sep 17 00:00:00 2001 1From 3b568db9460c0359e8bda8256aa2161e5aafe07c Mon Sep 17 00:00:00 2001
2From: Tomeu Vizoso <tomeu.vizoso@collabora.com> 2From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
3Date: Tue, 1 Oct 2013 13:19:20 +0200 3Date: Tue, 1 Oct 2013 13:19:20 +0200
4Subject: [PATCH] wayland: Add Wayland example 4Subject: [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)
33diff --git a/host_applications/linux/apps/hello_pi/Makefile b/host_applications/linux/apps/hello_pi/Makefile
34index 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
33diff --git a/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt b/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt 51diff --git a/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt b/host_applications/linux/apps/hello_pi/hello_wayland/CMakeLists.txt
34new file mode 100644 52new file mode 100644
35index 0000000..9a2f75c 53index 0000000..9a2f75c
@@ -843,21 +861,6 @@ index 0000000..1a7bfc4
843+ return 0; 861+ return 0;
844+} 862+}
845+ 863+
846diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh b/host_applications/linux/apps/hello_pi/rebuild.sh 864--
847index 8225dd5..0be6ce7 100755 8652.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