summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egllog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/egllog.h')
-rw-r--r--src/egl/main/egllog.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h
index 2fa352f155d..83c8bb72a6e 100644
--- a/src/egl/main/egllog.h
+++ b/src/egl/main/egllog.h
@@ -9,6 +9,17 @@
#define _EGL_DEBUG 3 /* useful info for debugging */
+typedef void (*_EGLLogProc)(EGLint level, const char *msg);
+
+
+extern void
+_eglSetLogProc(_EGLLogProc logger);
+
+
+extern void
+_eglSetLogLevel(EGLint level);
+
+
extern void
_eglLog(EGLint level, const char *fmtStr, ...);