egl: Implement EGL_KHR_debug (v2)
authorKyle Brenneman <kbrenneman@nvidia.com>
Mon, 12 Sep 2016 21:51:22 +0000 (17:51 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 5 Oct 2016 15:41:26 +0000 (11:41 -0400)
commitca9f26ac6fcb0afb68101fb3f74fcb3100507c0c
tree622aeb0f5ccb27fe0f6b6f25e8c3be7abb577e62
parent6a5545d3ba60a19a3bce8f62141e0991a595eeaf
egl: Implement EGL_KHR_debug (v2)

Wire up the debug entrypoints to EGL dispatch, and add the extension
string to the client extension list.

v2:
- Lots of style fixes
- Fix missing EGLAPIENTRYs
- Factor out valid attribute check
- Lock display in eglLabelObjectKHR as needed, and use RETURN_EGL_*
- Move "EGL_KHR_debug" into asciibetical order in client extension
  string

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.veliko@collabora.com>
src/egl/main/eglapi.c
src/egl/main/eglglobals.c