summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-07-16 21:21:56 -0700
committerBrian Paul <[email protected]>2009-07-17 11:53:39 -0600
commitbe9d1ab171b1b29108c781af84dd500707a12925 (patch)
treebdaf340d06688f7158f73eb50ead0a5013eaee86 /src/egl/main/egldisplay.h
parentcca31340b5a9c0b941946753a31236c7201ca87c (diff)
egl: Return the same EGL Display for the same native display.
The latest revision of the spec explicitly requires the same handle to be returned for the same native 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 ac285f52a7e..0a6003f39ea 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -52,6 +52,10 @@ extern _EGLDisplay *
_eglLookupDisplay(EGLDisplay dpy);
+extern _EGLDisplay *
+_eglFindDisplay(NativeDisplayType nativeDisplay);
+
+
extern void
_eglCleanupDisplay(_EGLDisplay *disp);