Bug 91840

Summary: Expose GL_KHR_debug to ES contexts
Product: Mesa Reporter: Link Mauve <bugs>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: enhancement    
Priority: medium CC: jfonseca
Version: git   
Hardware: All   
OS: All   
URL: https://www.opengl.org/registry/specs/KHR/debug.txt
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 37397    

Description Link Mauve 2015-09-01 15:49:24 UTC
GL_KHR_debug is currently only implemented on GL contexts, but the specification is also defined in ES terms with the addition that every symbol must end with the KHR suffix.
Comment 1 Ian Romanick 2015-09-01 22:23:00 UTC
I think the main effort would be in creating piglit tests.  Someone would also need to run the Khronos conformance tests.  Either I or someone at Intel should be able to do that once patches are available to enable the extension.
Comment 2 Timothy Arceri 2015-09-01 22:47:51 UTC
There are patches on the list not sure if they still apply:
http://lists.freedesktop.org/archives/mesa-dev/2014-August/066941.html

The piglit tests have already been updated to support ES, this was done at the same time as the above Mesa changes.

The piglit updates landed the Mesa changes didn't.
Comment 3 Boyan Ding 2015-09-02 07:40:40 UTC
(In reply to Timothy Arceri from comment #2)
> There are patches on the list not sure if they still apply:
> http://lists.freedesktop.org/archives/mesa-dev/2014-August/066941.html

At least the first patch for EGL in that series is outdated.
Comment 5 Timothy Arceri 2016-02-25 04:08:33 UTC
Enabled sine:

commit	b8547a50631649bf19fc29cb339bdb3992537607
mesa: re-enable KHR_debug for ES contexts

With the earlier issues resolved we can expose the extension.

Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.