diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-11-25 13:01:09 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-27 14:58:48 +0000 |
| commit | a058f5687fb79d12d9b99883aaaf7bb6454665eb (patch) | |
| tree | 06d2bc80367a3e8718083dc2feb4430a48a76efc /meta/recipes-graphics/piglit | |
| parent | 351893f3701b525eda317b52766e590743485bba (diff) | |
| download | poky-a058f5687fb79d12d9b99883aaaf7bb6454665eb.tar.gz | |
piglit: upgrade to latest revision
(From OE-Core rev: 9d6c622d1eef241259c54e3a6e1430fe3fd510b9)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit')
6 files changed, 40 insertions, 9 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch index b47e16af6b..0c872d3e9b 100644 --- a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch +++ b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 8f25cdf54e35ab1a174cabf5078784b8e48bda01 Mon Sep 17 00:00:00 2001 | 1 | From 2af98d67e16e083c36e3193aefbda942399a455a Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Fri, 23 Aug 2024 15:29:45 +0200 | 3 | Date: Fri, 23 Aug 2024 15:29:45 +0200 |
| 4 | Subject: [PATCH] CMakeLists.txt: do not obtain wayland-scanner path from | 4 | Subject: [PATCH] CMakeLists.txt: do not obtain wayland-scanner path from |
| @@ -17,7 +17,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
| 17 | 1 file changed, 1 insertion(+), 5 deletions(-) | 17 | 1 file changed, 1 insertion(+), 5 deletions(-) |
| 18 | 18 | ||
| 19 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 19 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 20 | index d169fb481..8394f5236 100644 | 20 | index 73750f67e..8018a1bb7 100644 |
| 21 | --- a/CMakeLists.txt | 21 | --- a/CMakeLists.txt |
| 22 | +++ b/CMakeLists.txt | 22 | +++ b/CMakeLists.txt |
| 23 | @@ -211,11 +211,7 @@ if(PIGLIT_USE_WAYLAND) | 23 | @@ -211,11 +211,7 @@ if(PIGLIT_USE_WAYLAND) |
| @@ -33,6 +33,3 @@ index d169fb481..8394f5236 100644 | |||
| 33 | add_executable(WaylandScannerExe IMPORTED) | 33 | add_executable(WaylandScannerExe IMPORTED) |
| 34 | set_property(TARGET WaylandScannerExe PROPERTY IMPORTED_LOCATION ${WaylandScannerPath}) | 34 | set_property(TARGET WaylandScannerExe PROPERTY IMPORTED_LOCATION ${WaylandScannerPath}) |
| 35 | endif() | 35 | endif() |
| 36 | -- | ||
| 37 | 2.39.2 | ||
| 38 | |||
diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch index 08e709b1d0..cfdfeb683e 100644 --- a/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch +++ b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 77f327909e4a99c64261290cd76e234e10cc64d2 Mon Sep 17 00:00:00 2001 | 1 | From 70f8d56bf9db9d85f3d197ab9de972e3a514514c 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, 3 May 2023 21:59:43 -0700 | 3 | Date: Wed, 3 May 2023 21:59:43 -0700 |
| 4 | Subject: [PATCH] tests: Fix narrowing errors seen with clang | 4 | Subject: [PATCH] tests: Fix narrowing errors seen with clang |
diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch new file mode 100644 index 0000000000..47f8b03961 --- /dev/null +++ b/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 0c97d5eacae4f584313c9251e585bb0246cceffc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Fri, 22 Nov 2024 22:52:31 +0100 | ||
| 4 | Subject: [PATCH] tests/egl/spec: make egl_ext_surface_compression conditional | ||
| 5 | to X11 | ||
| 6 | |||
| 7 | Otherwise, this error occurs: | ||
| 8 | | In file included from /srv/storage/alex/yocto/build-64/workspace/sources/piglit/tests/egl/spec/egl_ext_surface_compression/create_surface.c:28: | ||
| 9 | | /srv/storage/alex/yocto/build-64/workspace/sources/piglit/tests/egl/spec/egl_ext_surface_compression/../../egl-util.h:12:10: fatal error: X11/Xlib.h: No such file or directory | ||
| 10 | | 12 | #include <X11/Xlib.h> | ||
| 11 | | | ^~~~~~~~~~~~ | ||
| 12 | |||
| 13 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/974] | ||
| 14 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 15 | --- | ||
| 16 | tests/egl/spec/CMakeLists.txt | 4 +++- | ||
| 17 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/tests/egl/spec/CMakeLists.txt b/tests/egl/spec/CMakeLists.txt | ||
| 20 | index 33c504978..1dea6d8fc 100644 | ||
| 21 | --- a/tests/egl/spec/CMakeLists.txt | ||
| 22 | +++ b/tests/egl/spec/CMakeLists.txt | ||
| 23 | @@ -7,7 +7,9 @@ add_subdirectory (egl_ext_device_drm) | ||
| 24 | add_subdirectory (egl_ext_platform_device) | ||
| 25 | add_subdirectory (egl_ext_image_dma_buf_import_modifiers) | ||
| 26 | add_subdirectory (egl_ext_protected_content) | ||
| 27 | -add_subdirectory (egl_ext_surface_compression) | ||
| 28 | +if (PIGLIT_HAS_X11) | ||
| 29 | + add_subdirectory (egl_ext_surface_compression) | ||
| 30 | +endif (PIGLIT_HAS_X11) | ||
| 31 | add_subdirectory (egl_khr_create_context) | ||
| 32 | add_subdirectory (egl_khr_display_reference) | ||
| 33 | add_subdirectory (egl_khr_get_all_proc_addresses) | ||
diff --git a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch index 70bb55053d..17bcbce190 100644 --- a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch +++ b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From cb8e4b99fcfe81399e3e6d922156db4a48a39a8e Mon Sep 17 00:00:00 2001 | 1 | From 9b2c2213a2d7aaea350649ee031e227b44343428 Mon Sep 17 00:00:00 2001 |
| 2 | From: Pascal Bach <pascal.bach@siemens.com> | 2 | From: Pascal Bach <pascal.bach@siemens.com> |
| 3 | Date: Thu, 4 Oct 2018 14:43:17 +0200 | 3 | Date: Thu, 4 Oct 2018 14:43:17 +0200 |
| 4 | Subject: [PATCH] cmake: use proper WAYLAND_INCLUDE_DIRS variable | 4 | Subject: [PATCH] cmake: use proper WAYLAND_INCLUDE_DIRS variable |
diff --git a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch index ce5cbd3ea9..767e93c43e 100644 --- a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch +++ b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 7d2d23125f1946a7b74f9a427388d469500fcd8d Mon Sep 17 00:00:00 2001 | 1 | From 3d621cf028acb3b464759abb72a38102844079b2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Tue, 10 Nov 2020 17:13:50 +0000 | 3 | Date: Tue, 10 Nov 2020 17:13:50 +0000 |
| 4 | Subject: [PATCH] tests/util/piglit-shader.c: do not hardcode build path into | 4 | Subject: [PATCH] tests/util/piglit-shader.c: do not hardcode build path into |
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index fbf20de176..3e950ff61c 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb | |||
| @@ -11,10 +11,11 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma | |||
| 11 | file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ | 11 | file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ |
| 12 | file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ | 12 | file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ |
| 13 | file://0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch \ | 13 | file://0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch \ |
| 14 | file://0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch \ | ||
| 14 | " | 15 | " |
| 15 | UPSTREAM_CHECK_COMMITS = "1" | 16 | UPSTREAM_CHECK_COMMITS = "1" |
| 16 | 17 | ||
| 17 | SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" | 18 | SRCREV = "d04d6fff00849a2a8e29ef3251c6ca04a2f68dc7" |
| 18 | # (when PV goes above 1.0 remove the trailing r) | 19 | # (when PV goes above 1.0 remove the trailing r) |
| 19 | PV = "1.0+gitr" | 20 | PV = "1.0+gitr" |
| 20 | 21 | ||
