X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fegl%2Fmain%2Fegldisplay.h;h=970c21a9289a3e6c4c4d1bf077f2cf94f1b05121;hb=468cc866b4b308cee40470f06b31002c6c56da96;hp=911a2e9bd67a47a1a9936a51c94286c5606d2ef0;hpb=9a40ee16d0be3a08ac2f467311673f4b9333191d;p=mesa.git diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 911a2e9bd67..970c21a9289 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -242,5 +242,25 @@ _eglIsResourceLinked(_EGLResource *res) return res->IsLinked; } +#ifdef HAVE_X11_PLATFORM +_EGLDisplay* +_eglGetX11Display(Display *native_display, const EGLint *attrib_list); +#endif + +#ifdef HAVE_DRM_PLATFORM +struct gbm_device; + +_EGLDisplay* +_eglGetGbmDisplay(struct gbm_device *native_display, + const EGLint *attrib_list); +#endif + +#ifdef HAVE_WAYLAND_PLATFORM +struct wl_display; + +_EGLDisplay* +_eglGetWaylandDisplay(struct wl_display *native_display, + const EGLint *attrib_list); +#endif #endif /* EGLDISPLAY_INCLUDED */