diff options
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 84ea0b694c..20945c10a0 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -177,6 +177,13 @@ struct dri2_egl_surface int format; #endif +#ifdef HAVE_DRM_PLATFORM + struct gbm_dri_surface *gbm_surf; +#ifndef HAVE_WAYLAND_PLATFORM + __DRIbuffer *dri_buffers[__DRI_BUFFER_COUNT]; +#endif +#endif + #ifdef HAVE_ANDROID_PLATFORM struct ANativeWindow *window; struct ANativeWindowBuffer *buffer; |