diff options
Diffstat (limited to 'lib/mesa/src/egl/main/egldisplay.h')
-rw-r--r-- | lib/mesa/src/egl/main/egldisplay.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/mesa/src/egl/main/egldisplay.h b/lib/mesa/src/egl/main/egldisplay.h index 02ac4fb9a..4d2afbc71 100644 --- a/lib/mesa/src/egl/main/egldisplay.h +++ b/lib/mesa/src/egl/main/egldisplay.h @@ -45,6 +45,7 @@ extern "C" { enum _egl_platform_type { _EGL_PLATFORM_X11, + _EGL_PLATFORM_XCB, _EGL_PLATFORM_WAYLAND, _EGL_PLATFORM_DRM, _EGL_PLATFORM_ANDROID, @@ -106,6 +107,7 @@ struct _egl_extensions EGLBoolean EXT_image_dma_buf_import; EGLBoolean EXT_image_dma_buf_import_modifiers; EGLBoolean EXT_pixel_format_float; + EGLBoolean EXT_protected_surface; EGLBoolean EXT_surface_CTA861_3_metadata; EGLBoolean EXT_surface_SMPTE2086_metadata; EGLBoolean EXT_swap_buffers_with_damage; @@ -161,7 +163,7 @@ struct _egl_display void *PlatformDisplay; /**< A pointer to the platform display */ _EGLDevice *Device; /**< Device backing the display */ - _EGLDriver *Driver; /**< Matched driver of the display */ + const _EGLDriver *Driver; /**< Matched driver of the display */ EGLBoolean Initialized; /**< True if the display is initialized */ /* options that affect how the driver initializes the display */ @@ -207,7 +209,7 @@ _eglFindDisplay(_EGLPlatformType plat, void *plat_dpy, const EGLAttrib *attr); extern void -_eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *disp); +_eglReleaseDisplayResources(_EGLDisplay *disp); extern void @@ -293,6 +295,12 @@ _EGLDisplay* _eglGetX11Display(Display *native_display, const EGLAttrib *attrib_list); #endif +#ifdef HAVE_XCB_PLATFORM +typedef struct xcb_connection_t xcb_connection_t; +_EGLDisplay* +_eglGetXcbDisplay(xcb_connection_t *native_display, const EGLAttrib *attrib_list); +#endif + #ifdef HAVE_DRM_PLATFORM struct gbm_device; @@ -309,11 +317,9 @@ _eglGetWaylandDisplay(struct wl_display *native_display, const EGLAttrib *attrib_list); #endif -#ifdef HAVE_SURFACELESS_PLATFORM _EGLDisplay* _eglGetSurfacelessDisplay(void *native_display, const EGLAttrib *attrib_list); -#endif #ifdef HAVE_ANDROID_PLATFORM _EGLDisplay* |