4 // include types and defines
6 #include <GL/egl_defs.h>
10 #include <GL/egl_tokens.h>
12 // include simple void functions we ignore
14 #include <GL/egl_void.h>
16 // include functions that need a bit of work, but we don't log
18 #include <GL/egl_cpx.h>
20 // include functions we log
24 extern unsigned int *EGL_LOG_PTR;
26 inline void xGLL(int a) { *EGL_LOG_PTR=(unsigned int)a; EGL_LOG_PTR++; };
27 inline void xGLL(unsigned int a) { *EGL_LOG_PTR=a; EGL_LOG_PTR++; };
28 inline void xGLL(float a) { *(float *)EGL_LOG_PTR=a; EGL_LOG_PTR++; };
29 inline void xGLL(double a) { *(float *)EGL_LOG_PTR=(float)a; EGL_LOG_PTR++; };
30 inline void xGLL(const float *a) { for(int t=0;t!=16;t++) xGLL(a[t]); };
31 inline void xGLL(const double *a) { for(int t=0;t!=16;t++) xGLL(a[t]); };
34 inline void xGLL(int a) {};
35 inline void xGLL(unsigned int a) {};
36 inline void xGLL(float a) {};
37 inline void xGLL(double a) {};
38 inline void xGLL(const float *a) {};
39 inline void xGLL(const double *a) {};
43 // functions we might log
45 #include <GL/egl_logged.h>