From 4322982346fb403bfd2c03b93bcad4c3d8694ea5 Mon Sep 17 00:00:00 2001 From: Daniel Díaz Date: Thu, 1 Jun 2017 13:47:47 -0500 Subject: piglit: fix building issues regarding gbm_bo_map and a MESA test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These patches fix a few building problems but are not being taken into consideration at the moment, even though they have been reviewed upstream with most of them merged (and accepted already in OE-core master): 1.- CMake: define GBM_BO_MAP only when symbol is found 2.- util/egl: Honour Surfaceless MESA in get_default_display 3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly 4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces Signed-off-by: Daniel Díaz Signed-off-by: Ross Burton --- meta/recipes-graphics/piglit/piglit_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index eae3eed342..2ea57794a6 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -5,6 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0" SRC_URI = "git://anongit.freedesktop.org/piglit \ file://0001-cmake-install-bash-completions-in-the-right-place.patch \ file://0001-tests-Use-FE_UPWARD-only-if-its-defined-in-fenv.h.patch \ + file://0001-CMake-define-GBM_BO_MAP-only-when-symbol-is-found.patch \ + file://0002-util-egl-Honour-Surfaceless-MESA-in-get_default_disp.patch \ + file://0003-egl_mesa_platform_surfaceless-Don-t-use-eglGetPlatfo.patch \ + file://0004-egl_mesa_platform_surfaceless-Use-EXT-functions-for-.patch \ " # From 2017-02-06 -- cgit 1.2.3-korg