diff options
author | Brian Paul <[email protected]> | 2005-04-22 21:09:39 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-04-22 21:09:39 +0000 |
commit | adbff7e977c7c768e752a24fb643d68bdf961bfe (patch) | |
tree | 8ad42d96c55f25fe05921792507bc9b69d82e8f3 /src/egl/main/egldisplay.h | |
parent | a661654a33ba38990719ac9f5aea2910a5d5bf77 (diff) |
initial EGL code
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h new file mode 100644 index 00000000000..a2831e65a46 --- /dev/null +++ b/src/egl/main/egldisplay.h @@ -0,0 +1,39 @@ +#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 +_eglDeleteDisplay(_EGLDisplay *disp); + + +#endif /* EGLDISPLAY_INCLUDED */ |