backend/drm: add support for wlr_swapchain multi-GPU

This commit is contained in:
Simon Ser 2020-07-28 16:42:59 +02:00
parent 8058e338ea
commit c881008e1c
2 changed files with 15 additions and 16 deletions

View file

@ -39,6 +39,7 @@ struct wlr_drm_fb {
struct wlr_drm_surface *mgpu_surf;
struct gbm_bo *mgpu_bo;
struct wlr_buffer *mgpu_wlr_buf;
};
bool init_drm_renderer(struct wlr_drm_backend *drm,