summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.c
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-05-13 18:31:35 +0000
committerJon Smirl <[email protected]>2005-05-13 18:31:35 +0000
commit7012d01d888d482f2c6ad1180231a482026d213a (patch)
tree426deb1a0de72921bf19851243443ab570d896f6 /src/egl/main/egldisplay.c
parenta6ed129dfc4ccfd898d347543f745f0b7745e31d (diff)
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/egldisplay.c')
-rw-r--r--src/egl/main/egldisplay.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c
index 0f298108c34..53b4ba9c38e 100644
--- a/src/egl/main/egldisplay.c
+++ b/src/egl/main/egldisplay.c
@@ -62,10 +62,17 @@ _eglGetCurrentDisplay(void)
void
-_eglDeleteDisplay(_EGLDisplay *disp)
+_eglCleanupDisplay(_EGLDisplay *disp)
{
/* XXX incomplete */
free(disp->Configs);
- free(disp);
+ free(disp->Name);
+ /* driver deletes _EGLDisplay */
}
+
+EGLBoolean
+_eglQueryDisplayMESA(_EGLDriver *drv, EGLDisplay dpy, EGLint attrib, EGLint *value)
+{
+ return EGL_FALSE;
+}