fprintf(stderr, "EGL user error 0x%x (%s) in %s\n", errCode, s, msg);
}
}
-
-
-
-/**
- * Return a new screen handle/ID.
- * NOTE: we never reuse these!
- */
-EGLScreenMESA
-_eglAllocScreenHandle(void)
-{
- EGLScreenMESA s = _eglGlobal.FreeScreenHandle;
- _eglGlobal.FreeScreenHandle++;
- return s;
-}
_eglError(EGLint errCode, const char *msg);
-extern EGLScreenMESA
-_eglAllocScreenHandle(void);
-
-
#endif /* EGLGLOBALS_INCLUDED */
#include "eglscreen.h"
+/**
+ * Return a new screen handle/ID.
+ * NOTE: we never reuse these!
+ */
+EGLScreenMESA
+_eglAllocScreenHandle(void)
+{
+ EGLScreenMESA s = _eglGlobal.FreeScreenHandle;
+ _eglGlobal.FreeScreenHandle++;
+ return s;
+}
+
+
/**
* Initialize an _EGLScreen object to default values.
*/
#define EGLSCREEN_INCLUDED
-/* NOTE: there is no public EGLScreen type, we refers to screens with
- * an integer.
- */
-
-
/**
* Per-screen information.
* Note that an EGL screen doesn't have a size. A screen may be set to
};
+extern EGLScreenMESA
+_eglAllocScreenHandle(void);
+
+
extern void
_eglInitScreen(_EGLScreen *screen);