<div dir="ltr">ping?<br><div class="gmail_extra"><br><div class="gmail_quote">2015-06-21 23:06 GMT+08:00 Boyan Ding <span dir="ltr"><<a href="mailto:boyan.j.ding@gmail.com" target="_blank">boyan.j.ding@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This series of patches add support for EGL_KHR_create_context when<br>
using swrast. The first patch moves context_attrib filling into a<br>
separate function for reuse in swrast. The second one uses<br>
createContextAttribs in swrast extension and the third one enables<br>
EGL_KHR_create_context.<br>
<br>
I tested the patches with piglit 16794f0 using the following command:<br>
<br>
LIBGL_ALWAYS_SOFTWARE=1 ./piglit run -p x11_egl quick<br>
<br>
and the result went from<br>
 crash:3  fail:91  pass:7234  skip:20513  warn:2<br>
to<br>
 crash:3  fail:141 pass:15076 skip:12621  warn:2<br>
without regression.<br>
<br>
One thing worth notice is that three tests of EGL spec went<br>
skip -> fail, which, however, is the fault of egl/main code[1].<br>
<br>
Reference: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=80821" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=80821</a><br>
[1]: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=91044" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=91044</a><br>
<br>
Boyan Ding (3):<br>
  egl_dri2: Move filling context_attrib array in a separate function<br>
  egl_dri2: Use createContextAttribs if swrast version >= 3<br>
  egl_dri2: Add support for EGL_KHR_create_contest when using swrast<br>
<br>
 src/egl/drivers/dri2/egl_dri2.c | 125 ++++++++++++++++++++++++++--------------<br>
 1 file changed, 82 insertions(+), 43 deletions(-)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.4.1<br>
<br>
</font></span></blockquote></div><br></div></div>