int *width, int *height,
unsigned int *attachments, int count,
int *out_count, void *data);
+
+ struct wl_drm *wl_drm;
};
struct gbm_dri_bo {
struct gbm_drm_bo base;
__DRIimage *image;
+
+ /* Only used for cursors */
+ uint32_t handle, size;
+ void *map;
};
struct gbm_dri_surface {
struct gbm_surface base;
- __DRIbuffer *(*get_front_buffer)(struct gbm_dri_surface *, void *);
- void (*release_buffer)(struct gbm_dri_surface *, __DRIbuffer *, void *);
- int (*has_free_buffers)(void *);
void *dri_private;
};