breaking libgbm -> libEGL ABI? Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>tags/17.0-branchpoint
@@ -712,6 +712,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp) | |||
dri2_dpy->flush = dri2_dpy->gbm_dri->flush; | |||
dri2_dpy->swrast = dri2_dpy->gbm_dri->swrast; | |||
dri2_dpy->driver_configs = dri2_dpy->gbm_dri->driver_configs; | |||
dri2_dpy->interop = dri2_dpy->gbm_dri->interop; | |||
dri2_dpy->gbm_dri->lookup_image = dri2_lookup_egl_image; | |||
dri2_dpy->gbm_dri->lookup_user_data = disp; |
@@ -246,6 +246,7 @@ static struct dri_extension_match dri_core_extensions[] = { | |||
{ __DRI2_FLUSH, 1, offsetof(struct gbm_dri_device, flush) }, | |||
{ __DRI_IMAGE, 1, offsetof(struct gbm_dri_device, image) }, | |||
{ __DRI2_FENCE, 2, offsetof(struct gbm_dri_device, fence), 1 }, | |||
{ __DRI2_INTEROP, 1, offsetof(struct gbm_dri_device, interop), 1 }, | |||
{ NULL, 0, 0 } | |||
}; | |||
@@ -58,6 +58,7 @@ struct gbm_dri_device { | |||
const __DRIswrastExtension *swrast; | |||
const __DRI2flushExtension *flush; | |||
const __DRIdri2LoaderExtension *loader; | |||
const __DRI2interopExtension *interop; | |||
const __DRIconfig **driver_configs; | |||
const __DRIextension **loader_extensions; |