summaryrefslogtreecommitdiff
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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h
new file mode 100644
index 0000000000..2fa352f155
--- /dev/null
+++ b/src/egl/main/egllog.h
@@ -0,0 +1,16 @@
+#ifndef EGLLOG_INCLUDED
+#define EGLLOG_INCLUDED
+
+#include "egltypedefs.h"
+
+#define _EGL_FATAL 0 /* unrecoverable error */
+#define _EGL_WARNING 1 /* recoverable error/problem */
+#define _EGL_INFO 2 /* just useful info */
+#define _EGL_DEBUG 3 /* useful info for debugging */
+
+
+extern void
+_eglLog(EGLint level, const char *fmtStr, ...);
+
+
+#endif /* EGLLOG_INCLUDED */