diff options
Diffstat (limited to 'src/egl/main/egllog.h')
-rw-r--r-- | src/egl/main/egllog.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h index 2fa352f155d..3a99bfea4b7 100644 --- a/src/egl/main/egllog.h +++ b/src/egl/main/egllog.h @@ -9,7 +9,18 @@ #define _EGL_DEBUG 3 /* useful info for debugging */ -extern void +typedef void (*_EGLLogProc)(EGLint level, const char *msg); + + +PUBLIC void +_eglSetLogProc(_EGLLogProc logger); + + +PUBLIC void +_eglSetLogLevel(EGLint level); + + +PUBLIC void _eglLog(EGLint level, const char *fmtStr, ...); |