Re: [Mesa-dev] [PATCH 4/7] EGL: Call the EGL_KHR_debug callback on errors

2016-09-09 Thread Emil Velikov
On 8 September 2016 at 18:46, Adam Jackson wrote: > From: Kyle Brenneman > > Added a member to _EGLThreadInfo to hold the name of the current EGL > function. Each EGL entrypoint will now set that at the beginning. > > _eglError will now call the debug callback function, using the function > name

[Mesa-dev] [PATCH 4/7] EGL: Call the EGL_KHR_debug callback on errors

2016-09-08 Thread Adam Jackson
From: Kyle Brenneman Added a member to _EGLThreadInfo to hold the name of the current EGL function. Each EGL entrypoint will now set that at the beginning. _eglError will now call the debug callback function, using the function name stored in the current _EGLThreadInfo struct. This should allow