]> code.ossystems Code Review - openembedded-core.git/commit
piglit: add patches for unbuildable surfaceless Mesa test
authorDaniel Díaz <daniel.diaz@linaro.org>
Thu, 18 May 2017 18:22:37 +0000 (13:22 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 May 2017 09:14:32 +0000 (10:14 +0100)
commit4f85500cfc76407fb4950bbb0df216577aea6bd7
tree06a297a8b89677a23ca101f05892114076e290a7
parent2e0c8a510ee60d4ca97e58184c48995cd88a823f
piglit: add patches for unbuildable surfaceless Mesa test

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.

Upstream-Status: Submitted [piglit@lists.freedesktop.org]

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]