[Mesa-dev] [PATCH 0/3] egl_dri2: Enable EGL_KHR_create_context when using swrast

Boyan Ding boyan.j.ding at gmail.com
Mon Jun 29 08:12:54 PDT 2015


ping?

2015-06-21 23:06 GMT+08:00 Boyan Ding <boyan.j.ding at gmail.com>:

> This series of patches add support for EGL_KHR_create_context when
> using swrast. The first patch moves context_attrib filling into a
> separate function for reuse in swrast. The second one uses
> createContextAttribs in swrast extension and the third one enables
> EGL_KHR_create_context.
>
> I tested the patches with piglit 16794f0 using the following command:
>
> LIBGL_ALWAYS_SOFTWARE=1 ./piglit run -p x11_egl quick
>
> and the result went from
>  crash:3  fail:91  pass:7234  skip:20513  warn:2
> to
>  crash:3  fail:141 pass:15076 skip:12621  warn:2
> without regression.
>
> One thing worth notice is that three tests of EGL spec went
> skip -> fail, which, however, is the fault of egl/main code[1].
>
> Reference: https://bugs.freedesktop.org/show_bug.cgi?id=80821
> [1]: https://bugs.freedesktop.org/show_bug.cgi?id=91044
>
> Boyan Ding (3):
>   egl_dri2: Move filling context_attrib array in a separate function
>   egl_dri2: Use createContextAttribs if swrast version >= 3
>   egl_dri2: Add support for EGL_KHR_create_contest when using swrast
>
>  src/egl/drivers/dri2/egl_dri2.c | 125
> ++++++++++++++++++++++++++--------------
>  1 file changed, 82 insertions(+), 43 deletions(-)
>
> --
> 2.4.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150629/e832d7b0/attachment.html>


More information about the mesa-dev mailing list