Merge branch 'gallium-nopointsizeminmax'
[mesa.git] / src / egl / main / egllog.h
1 #ifndef EGLLOG_INCLUDED
2 #define EGLLOG_INCLUDED
3
4
5 #include "egltypedefs.h"
6
7
8 #define _EGL_FATAL 0 /* unrecoverable error */
9 #define _EGL_WARNING 1 /* recoverable error/problem */
10 #define _EGL_INFO 2 /* just useful info */
11 #define _EGL_DEBUG 3 /* useful info for debugging */
12
13
14 typedef void (*_EGLLogProc)(EGLint level, const char *msg);
15
16
17 PUBLIC void
18 _eglSetLogProc(_EGLLogProc logger);
19
20
21 PUBLIC void
22 _eglSetLogLevel(EGLint level);
23
24
25 PUBLIC void
26 _eglLog(EGLint level, const char *fmtStr, ...);
27
28
29 #endif /* EGLLOG_INCLUDED */