backend/drm: introduce drm_fb_create

This commit is contained in:
Simon Ser 2020-12-22 17:44:22 +01:00
parent 5b1b43c68c
commit cd64610c66
2 changed files with 37 additions and 23 deletions

View file

@ -49,7 +49,7 @@ bool drm_fb_lock_surface(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm,
struct wlr_drm_surface *surf, struct wlr_drm_surface *mgpu);
bool drm_fb_import(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm,
struct wlr_buffer *buf, struct wlr_drm_surface *mgpu,
struct wlr_drm_format_set *set);
const struct wlr_drm_format_set *formats);
void drm_fb_clear(struct wlr_drm_fb **fb);
void drm_fb_move(struct wlr_drm_fb **new, struct wlr_drm_fb **old);