egl: Improve logging facility.
Add _eglSetLogger and _eglSetLogLevel to allow drivers to change the message logger or report level. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -18,9 +18,10 @@ struct _egl_global _eglGlobal =
|
||||
0, /* NumDrivers */
|
||||
{ NULL }, /* Drivers */
|
||||
2, /* NumAtExitCalls */
|
||||
{ /* AtExitCalls */
|
||||
_eglFiniDisplay,
|
||||
_eglUnloadDrivers
|
||||
{
|
||||
/* default AtExitCalls, called in reverse order */
|
||||
_eglUnloadDrivers, /* always called last */
|
||||
_eglFiniDisplay
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user