summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit/piglit_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* piglit: add patches for unbuildable surfaceless Mesa testDaniel Díaz2017-06-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | [Backported from master.] Some EGL implementations do not actually ship all Khronos- extensions. As it turns out, the Mali 450 driver does not include any of the following symbols, used by the egl_mesa_platform_surfaceless.c spec test: * eglGetPlatformDisplay * eglCreatePlatformPixmapSurface * eglCreatePlatformWindowSurface The Right Thing To Do was to obtain the implementation of these functions (via eglGetProcAddress), as is provided by their EXT counterparts. These are guaranteed to exist since they are required by EGL_EXT_platform_base. (From OE-Core rev: 903a051d47e550553aa9d6d9c38c43737f376cfe) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add patch for lack of gbm_bo_mapDaniel Díaz2017-06-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | [Backported from master.] [Piglit Bug #100978] -- https://bugs.freedesktop.org/show_bug.cgi?id=100978 When linking against Mali 450 r6, errors like the following can be seen: ../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap' ../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map' collect2: error: ld returned 1 exit status make[2]: *** [bin/point-sprite] Error 1 This is due to gbm_bo_map() and gbm_bo_unmap() being recently added but not yet implemented by all graphics drivers. Instead of relying on GBM's version, actually try to link against those symbols. (From OE-Core rev: 484db109df742aafa8efc41dc3a8d31386d9b2a3) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: depend on virtual/eglDaniel Díaz2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | [Backported from master.] While building for Hikey using Mali 450 driver (r6p0), an error like the following appears while linking: [ 1%] Linking C shared library ../../../../lib/libpiglitutil.so [...] [...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL collect2: error: ld returned 1 exit status make[2]: *** [lib/libpiglitutil.so.0] Error 1 Mesa generally provides virtual/egl (along with virtual/libgl, which satisfies Piglit's current DEPENDS) but that is not the implementation to use with Mali. (From OE-Core rev: 5bfa4ccdba64d814cc480f22ccd8c493d87d36e7) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Upgrade to current masterJussi Kukkonen2017-02-231-6/+4
| | | | | | | | | | | | | | | Remove backported patches. Add runtime dependency for netserver (as socketserver was recently moved there) and depend on libxkbcommon (this is really only needed for wayland support which could be made configurable). (From OE-Core rev: 5a3fa55f397bb89f75fb714b1d93aa76125cc09a) (From OE-Core rev: 87f10ec9ed63794ffd216c752cf14fd68d009d46) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add opengl to REQUIRED_DISTRO_FEATURESChristopher Larson2017-01-051-0/+3
| | | | | | | | | | This recipe depend on virtual/libgl, whose providers require the opengl distro feature. (From OE-Core rev: 009c088f6d0bf75ebb17825f6a3aba356a5b659d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Backport linker flag patchJussi Kukkonen2016-09-141-2/+1
| | | | | | | | | | | | Use the correct build system patch instead of adding linker flags in recipe. Also update upstream status for the other build patch. Fixes [YOCTO #9851]. (From OE-Core rev: cd67959c4794b132cb9fd20a2a37cf862e172bed) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Add python3-argparse module to RDEPENDSFabio Berton2016-08-251-1/+2
| | | | | | | | | | | Python module argparse was removed from python3-misc package, so we need to add new python3-argparse package to RDEPENDS. (From OE-Core rev: 4fafb32d0544c1babe4ac4f68cadd056aadd6c82) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: fix build failure with gold linkerMaxin B. John2016-08-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | When we use gold linker while DISTRO set to "nodistro", piglit build fails with the following error: | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlsym' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlerror' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlopen' | collect2: error: ld returned 1 exit status Fix it by providing '-ldl' to LDFLAGS. [YOCTO #9851] (From OE-Core rev: 79005ff905f8c82a8766af5a927b9a0f8929e24f) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Add build fix patchJussi Kukkonen2016-07-261-0/+1
| | | | | | | | | | Fixes [YOCTO #9851] (fingers crossed). (From OE-Core rev: 913149f269679bda87badb94e1de66646fdc5362) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Fix build on musl/armKhem Raj2016-07-201-0/+1
| | | | | | | | (From OE-Core rev: 336c1caeb86996cd316256ad15f392b9597ae414) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Upgrade version, use python3Jussi Kukkonen2016-07-201-10/+15
| | | | | | | | | | | | | | * Remove backported patch * Update dependencies to use python3 modules, add depencies added in the new version * Install only stripped binaries to keep size down * Fix bash-completion install location (From OE-Core rev: f7193a306cfc3ac0a3fdcf891716a59f5b8178e8) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade SRCREVRoss Burton2016-02-111-2/+2
| | | | | | | | | | | Upgrade the SRVREV to a slightly more up-to-date revision, this time from 2015-02-19. This commit in particular was chosen as it's the one before Piglit gained a hard dependnecy on python-six, which isn't yet in oe-core. (From OE-Core rev: 8ea17ed6337df4c7bb7b48a51f5e07b5ba6f3f71) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add missing dependency on python-xmlRoss Burton2016-02-111-1/+1
| | | | | | | | | Piglit uses ElementTree so ensure that python-xml is a dependency. (From OE-Core rev: 4403b8693bd8b01e966dc5cb239a7266a9707388) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: don't use /tmp to write generated sources toRoss Burton2016-02-041-0/+6
| | | | | | | | | | | If there are multiple builds on the same machine then piglit writing it's generated sources to /tmp will race. Instead, export TEMP to tell the tempfile module to use a temporary directory under ${B}. (From OE-Core rev: 5e0fe321aa1d42f4abf5161448ae1263232224ab) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: more removals of redunant FILES_${PN}-dbgRoss Burton2015-12-161-2/+0
| | | | | | | | | | In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. (From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Fix floating dependency on freeglutRoy Li2015-07-161-0/+1
| | | | | | | | | | | | 71158fa1a623125[fix floating dependence on freeglut] is incomplete, so continue by removing glut.h header file when not enable freeglut (From OE-Core rev: e53d09e265a217928e1436208e0f9057aa8ef7ae) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: fix floating dependence on freeglutRoy Li2015-06-271-0/+6
| | | | | | | | | | | | cmake can not handle "ifdef" and make floating dependence on freeglut_ext.h when make_depend, so remove to include freeglut_ext.h from header file if freegult is not in PACKAGECONFIG to fix this issue (From OE-Core rev: 71158fa1a623125dae82c64c27e81dcdb2369e2d) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Add missing inclusion of Xutil.hOtavio Salvador2015-06-181-2/+3
| | | | | | | | | | | | | | The EGL tests rely on Xutil.h being included. Some EGL implementation does not explitly include it by default and than the build fail. This fixes the build in imx53qsb board, of meta-fsl-arm, but is a generic fix. (From OE-Core rev: 8fe5ca4c6ed49f3f4b0dc67d0932e010bc32051b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade to more recent srvrevRoss Burton2015-06-111-31/+6
| | | | | | | | | | | | | | | | | | | | Upgrade to 126c7d from December 2014. Still not the latest but it's got no added build dependencies and importantly handles installs out of the box instead of us having to hack and kludge, and builds with cmake 3.x. The usage has changed: now there's a "piglit" binary that has run/resume/summary subcommands, for example: $ piglit run quick quick-results/ For reference the quick test suite on a IvyBridge NUC results in: [27714/27714] crash: 3, fail: 326, pass: 18275, skip: 9107, warn: 3 - (From OE-Core rev: 562c8907d6afcf50695f8964cdebd05fc1085742) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add PACKAGECONFIG for freeglutRobert Yang2015-04-081-0/+3
| | | | | | | (From OE-Core rev: b500d5581d2ab802eb8e7de640b5ab253f01c3f6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add x11 to required DISTRO_FEATURESMartin Jansa2015-02-031-1/+3
| | | | | | | | | | | | * there is some pending work to resolve this unnecessary x11 dependency, this can be reverted together with x11 dependency removal (From OE-Core rev: bc4d051c2fa56acb0479330b4342a39396de30d4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add bash to RDEPENDS_piglitRobert Yang2014-09-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Bash: piglit/usr/lib/piglit/tests/asmparsertest/make_test_list.sh:#!/bin/bash piglit/usr/lib/piglit/tests/asmparsertest/vp-tex.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-read.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-write.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct-const.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh:#!/bin/bash piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_lod_tests.sh:#!/bin/bash piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_rect_tests.sh:#!/bin/bash The bash scripts are in the tests directory, we had planned to move the tests into the ptest pkg, but that would make piglit unusable without installing piglit-ptest. (From OE-Core rev: ece99c85c27a546ea59a78875f630e82270c3177) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add dependency on libxrenderMartin Jansa2014-08-171-1/+1
| | | | | | | | | | * fixes floating dependency: piglit/piglit/latest lost dependency on libxrender (From OE-Core rev: 9e110ce3702ca92125a905c48f8fcbfab5bfe1ab) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: ship files with correct permissionsValentin Popa2014-03-251-5/+5
| | | | | | | | | | | | | | | | | Adress the warning | warning: group pulse does not exist - using root Piglit files from framework/ generated_tests/ tests/ and templates/ belong to xuser/pulse. Don't keep the permissions while shipping the files, they should be root/root. [YOCTO #6028] (From OE-Core rev: 226c47ff001a881c991c33674449a495132edd58) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: add (from meta-oe)Ross Burton2014-01-141-0/+48
Piglit is an OpenGL testing tool. This recipe is taken directly from meta-oe. (From OE-Core rev: cab8dad6f3b14f21115a765a4e55d38a0f73f337) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>