diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-05-13 18:31:35 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@gmail.com> | 2005-05-13 18:31:35 +0000 |
commit | 7012d01d888d482f2c6ad1180231a482026d213a (patch) | |
tree | 426deb1a0de72921bf19851243443ab570d896f6 /src/egl/main/eglscreen.h | |
parent | a6ed129dfc4ccfd898d347543f745f0b7745e31d (diff) | |
download | external_mesa3d-7012d01d888d482f2c6ad1180231a482026d213a.zip external_mesa3d-7012d01d888d482f2c6ad1180231a482026d213a.tar.gz external_mesa3d-7012d01d888d482f2c6ad1180231a482026d213a.tar.bz2 |
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
Diffstat (limited to 'src/egl/main/eglscreen.h')
-rw-r--r-- | src/egl/main/eglscreen.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/egl/main/eglscreen.h b/src/egl/main/eglscreen.h index 1d1856b..1dff069 100644 --- a/src/egl/main/eglscreen.h +++ b/src/egl/main/eglscreen.h @@ -19,8 +19,8 @@ struct _egl_screen }; -extern _EGLScreen * -_eglNewScreen(void); +extern void +_eglInitScreen(_EGLScreen *screen); extern _EGLScreen * @@ -36,11 +36,15 @@ _eglGetScreensMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA *screens, EGLi extern EGLSurface +_eglInitScreenSurfaceMESA(_EGLSurface *surf, _EGLDriver *drv, EGLDisplay dpy, EGLConfig config, + const EGLint *attrib_list); + +extern EGLSurface _eglCreateScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); extern EGLBoolean -_eglShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface surface); +_eglShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface surface, EGLModeMESA mode); extern EGLBoolean @@ -69,7 +73,11 @@ _eglQueryScreenMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLin extern void -_eglDeleteScreen(_EGLScreen *scrn); +_eglDestroyScreenModes(_EGLScreen *scrn); + + +extern void +_eglDestroyScreen(_EGLScreen *scrn); #endif /* EGLSCREEN_INCLUDED */ |