From 96d6fde5dc7ed2e9897297ed459246cb4133a30f Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 29 Mar 2019 21:27:12 +0200 Subject: backend/drm: add basic support for direct scan-out --- include/backend/drm/renderer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/backend') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 25b07b97..93b8da7c 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -54,6 +54,8 @@ struct gbm_bo *get_drm_surface_front(struct wlr_drm_surface *surf); void post_drm_surface(struct wlr_drm_surface *surf); struct gbm_bo *copy_drm_surface_mgpu(struct wlr_drm_surface *dest, struct gbm_bo *src); +struct gbm_bo *import_gbm_bo(struct wlr_drm_renderer *renderer, + struct wlr_dmabuf_attributes *attribs); bool export_drm_bo(struct gbm_bo *bo, struct wlr_dmabuf_attributes *attribs); #endif -- cgit v1.2.3