mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/drm: add drm_fb_copy()
Similar to drm_fb_move(), but leaves old as-is.
This commit is contained in:
parent
1a54d33e77
commit
f6659414ba
3 changed files with 9 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ bool drm_fb_import(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm,
|
|||
void drm_fb_destroy(struct wlr_drm_fb *fb);
|
||||
|
||||
void drm_fb_clear(struct wlr_drm_fb **fb);
|
||||
void drm_fb_copy(struct wlr_drm_fb **new, struct wlr_drm_fb *old);
|
||||
void drm_fb_move(struct wlr_drm_fb **new, struct wlr_drm_fb **old);
|
||||
struct wlr_drm_fb *drm_fb_lock(struct wlr_drm_fb *fb);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue