]> code.ossystems Code Review - openembedded-core.git/commit
piglit: add patches for unbuildable surfaceless Mesa test
authorDaniel Díaz <daniel.diaz@linaro.org>
Wed, 7 Jun 2017 14:51:21 +0000 (09:51 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 16:03:12 +0000 (17:03 +0100)
commit903a051d47e550553aa9d6d9c38c43737f376cfe
treeaba40cc956d0b6990f65482611edcb73f193bba3
parent484db109df742aafa8efc41dc3a8d31386d9b2a3
piglit: add patches for unbuildable surfaceless Mesa test

[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.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit/0002-util-egl-Honour-Surfaceless-MESA-in-get_default_disp.patch [new file with mode: 0644]
meta/recipes-graphics/piglit/piglit/0003-egl_mesa_platform_surfaceless-Don-t-use-eglGetPlatfo.patch [new file with mode: 0644]
meta/recipes-graphics/piglit/piglit/0004-egl_mesa_platform_surfaceless-Use-EXT-functions-for-.patch [new file with mode: 0644]
meta/recipes-graphics/piglit/piglit_git.bb