From 73ffab70b0961bf0ae946fe020ab1c20db758a1f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 24 Jan 2021 18:33:56 +0100 Subject: 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. --- include/backend/drm/renderer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/backend/drm') 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); -- cgit v1.2.3