summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-07-16 21:21:57 -0700
committerBrian Paul <[email protected]>2009-07-17 11:54:06 -0600
commit3f7e0d5302ed0fadd794a41af6e476d2c408adc7 (patch)
tree4359eb96a321daf1df24d614784f6771a880b654 /src/egl/main/egldisplay.h
parentbe9d1ab171b1b29108c781af84dd500707a12925 (diff)
egl: Destroy display's resources upon termination.
eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 0a6003f39ea..30b466cb4a0 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -57,6 +57,10 @@ _eglFindDisplay(NativeDisplayType nativeDisplay);
extern void
+_eglReleaseDisplayResources(_EGLDriver *drv, EGLDisplay dpy);
+
+
+extern void
_eglCleanupDisplay(_EGLDisplay *disp);