diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-24 18:33:56 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-24 18:33:56 +0100 |
commit | 73ffab70b0961bf0ae946fe020ab1c20db758a1f (patch) | |
tree | 32723951e0b354d90720318f2985fc664a9cfd25 /include/backend | |
parent | 4af85f4c19390c5aaa82095614868c16e64bca7c (diff) |
backend/drm: don't blit in drm_fb_import
Instead blit in drm_plane_lock_surface. This makes drm_fb_import simpler
and better fits its name.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/renderer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index e0ed8dac..2abd9dca 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -47,8 +47,7 @@ bool drm_surface_make_current(struct wlr_drm_surface *surf, int *buffer_age); void drm_surface_unset_current(struct wlr_drm_surface *surf); bool drm_fb_import(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm, - struct wlr_buffer *buf, struct wlr_drm_surface *mgpu, - const struct wlr_drm_format_set *formats); + struct wlr_buffer *buf, const struct wlr_drm_format_set *formats); void drm_fb_destroy(struct wlr_drm_fb *fb); void drm_fb_clear(struct wlr_drm_fb **fb); |