diff options
Diffstat (limited to 'nx-X11/extras/Mesa_6.4.1/src/egl/main/egldisplay.h')
-rw-r--r-- | nx-X11/extras/Mesa_6.4.1/src/egl/main/egldisplay.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa_6.4.1/src/egl/main/egldisplay.h b/nx-X11/extras/Mesa_6.4.1/src/egl/main/egldisplay.h new file mode 100644 index 000000000..1a03fdd4a --- /dev/null +++ b/nx-X11/extras/Mesa_6.4.1/src/egl/main/egldisplay.h @@ -0,0 +1,44 @@ +#ifndef EGLDISPLAY_INCLUDED +#define EGLDISPLAY_INCLUDED + + +#include "egltypedefs.h" + + +struct _egl_display +{ + EGLDisplay Handle; + + char *Name; + _EGLDriver *Driver; + + EGLint NumScreens; + _EGLScreen **Screens; /* array [NumScreens] */ + + EGLint NumConfigs; + _EGLConfig *Configs; /* array [NumConfigs] */ +}; + + +extern _EGLDisplay * +_eglNewDisplay(NativeDisplayType displayName); + + +extern _EGLDisplay * +_eglLookupDisplay(EGLDisplay dpy); + + +extern _EGLDisplay * +_eglGetCurrentDisplay(void); + + +extern void +_eglCleanupDisplay(_EGLDisplay *disp); + + +extern EGLBoolean +_eglQueryDisplayMESA(_EGLDriver *drv, EGLDisplay dpy, EGLint attrib, EGLint *value); + + + +#endif /* EGLDISPLAY_INCLUDED */ |