[Mesa-dev] [Bug 91044] piglit spec/egl_khr_create_context/valid debug flag gles* fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 21 07:27:21 PDT 2015


            Bug ID: 91044
           Summary: piglit spec/egl_khr_create_context/valid debug flag
                    gles* fail
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: EGL
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: stu_dby at 126.com
        QA Contact: mesa-dev at lists.freedesktop.org

When running piglit test on egl_x11 platform, I accidentally noticed that
piglit test spec/egl_khr_create_context/valid debug flag gles{1,2,3} fail. The
reason is that mesa EGL gives unexpected EGL_BAD_ATTRIBUTE. Digging into the
EGL code, I found libEGL will give EGL_BAD_ATTRIBUTE when setting
EGL_CONTEXT_FLAGS_KHR in non-OpenGL contexts (including OpenGL ES context),
with the quote in comment:

 /* The EGL_KHR_create_context spec says:
  *     "Flags are only defined for OpenGL context creation, and
  *     specifying a flags value other than zero for other types of
  *     contexts, including OpenGL ES contexts, will generate an
  *     error."

However, I can't find the words quoted in the present EGL_KHR_create_context
spec. On the other hand, it allows creating debug context in OpenGL ES (i.e.

Should we just remove the non-OpenGL check or just allow

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150621/8ffac392/attachment.html>

More information about the mesa-dev mailing list